Difference between revisions of "Webservices Guide - OpenKM 6.2"

From OpenKM Documentation
Jump to: navigation, search
(OpenKM 5.1 and older)
m
Line 5: Line 5:
 
These are the WSDL available:
 
These are the WSDL available:
  
{{Note|In OpenKM 6.0 webservices are listed at http://localhost:8080/OpenKM/services.}}
+
{{Note|In OpenKM 6.2 webservices are listed at http://localhost:8080/OpenKM/services.}}
  
'''For OpenKM 6.0 (and 6.x) '''
+
'''OpenKM 6.2 '''
  
 
* http://localhost:8080/OpenKM/services/OKMAuth?wsdl
 
* http://localhost:8080/OpenKM/services/OKMAuth?wsdl
Line 22: Line 22:
 
* http://localhost:8080/OpenKM/services/OKMWorkflow?wsdl
 
* http://localhost:8080/OpenKM/services/OKMWorkflow?wsdl
  
'''For older OpenKM 5.1 versions'''
+
'''OpenKM 5.1 (and older)'''
  
 
* http://localhost:8080/OpenKM/OKMAuth?wsdl
 
* http://localhost:8080/OpenKM/OKMAuth?wsdl

Revision as of 20:49, 1 December 2012

OpenKM has a complete API exposed via Webservices. This means you can call any of these API methods from any programming language which supports the SOAP protocol, like Java, PHP or Python among others. This feature makes it possible to create a custom client, or integrate with third-party applications like a CRM or a CMS.

These are the WSDL available:


Nota clasica.png In OpenKM 6.2 webservices are listed at http://localhost:8080/OpenKM/services.

OpenKM 6.2

OpenKM 5.1 (and older)

OKM Webservices API

Sample clients

OpenKM 6.2

OpenKM 5.1 and older

Sample clients

Changing of soap:address location

By default, JBoss set the soap:address to the bind address. Usually this cause problems because the SOAP client will try to connect to a incorrect address. To change this, edit the file $JBOSS_HOME/server/default/deploy/jbossws.sar/jbossws.beans/META-INF/jboss-beans.xml and take a look a these values:

<property name="webServiceHost">your.company.com</property>
<property name="webServicePort">80</property>
<property name="modifySOAPAddress">true</property>