XML client - OpenKM 5.1

From OpenKM Documentation
Revision as of 18:01, 8 March 2010 by Pavila (talk | contribs)

Jump to: navigation, search

Authentication

Login

Request

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:end="http://endpoint.ws.openkm.com/">
   <soapenv:Header/>
   <soapenv:Body>
      <end:login>
         <arg0>okmAdmin</arg0>
         <arg1>admin</arg1>
      </end:login>
   </soapenv:Body>
</soapenv:Envelope>

Response

<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
   <env:Header/>
   <env:Body>
      <end:loginResponse xmlns:end="http://endpoint.ws.openkm.com/">
         <return>8355455658368037295104824697168</return>
      </end:loginResponse>
   </env:Body>
</env:Envelope>

Logout

Request

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:end="http://endpoint.ws.openkm.com/">
   <soapenv:Header/>
   <soapenv:Body>
      <end:logout>
         <arg0>8355455658368037295104824697168</arg0>
      </end:logout>
   </soapenv:Body>
</soapenv:Envelope>

Response

<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
   <env:Header/>
   <env:Body>
      <end:logoutResponse xmlns:end="http://endpoint.ws.openkm.com/"/>
   </env:Body>
</env:Envelope>