Difference between revisions of "Webservices Guide - OpenKM 6.2"

From OpenKM Documentation
Jump to: navigation, search
Line 23: Line 23:
 
* [[Python client]] [[File:Padlock.gif]]
 
* [[Python client]] [[File:Padlock.gif]]
 
* [[PHP client]] [[File:Padlock.gif]]
 
* [[PHP client]] [[File:Padlock.gif]]
 
+
* [[C# client]]
 
 
'''Generating C# Webservices in Windows'''
 
 
 
.Net framework comes with wsdl.exe utility ( possible it's not in your default path)
 
 
 
wsdl.exe http://localhost:8080/OpenKM/OKMAuth?wsdl /out:OKMAuthService.cs
 
 
 
 
 
Pay attention in public OKMAuthService class, it'll be generated some OKMAuthService() constructor that you would like to change to take advantatge of host variable
 
 
 
 
 
public OKMAuthService() {
 
    this.Url = http://127.0.0.1:8080/OpenKM/OKMAuth;
 
}
 
 
change to
 
 
public OKMAuthService(String host) {
 
    this.Url = host;
 
}
 
 
 
 
 
  
 
[[Category: Webservices Guide]]
 
[[Category: Webservices Guide]]

Revision as of 09:08, 12 April 2010

OpenKM has a complete API exposed via Webservices. This means you can call any of this API method from any programming language which supports SOAP protocol, like Java, PHP or Python between others. This feature make possible to create a custom client, or integrate with third party applications like a CRM or a CMS.

These are the WSLD available:

OKM Webservices API

Sample clients