Difference between revisions of "XML client - OpenKM 5.1"

From OpenKM Documentation
Jump to: navigation, search
(Created page with '== Authentication == '''Request''' <source lang="xml"> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:end="http://endpoint.ws.openkm.com/"> …')
 
Line 1: Line 1:
 
== Authentication ==
 
== Authentication ==
'''Request'''
+
=== Login ===
 +
==== Request ====
 
<source lang="xml">
 
<source lang="xml">
 
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:end="http://endpoint.ws.openkm.com/">
 
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:end="http://endpoint.ws.openkm.com/">
Line 13: Line 14:
 
</source>
 
</source>
  
'''Response'''
+
==== Response ====
 
<source lang="xml">
 
<source lang="xml">
 
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
 
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
Line 21: Line 22:
 
         <return>8355455658368037295104824697168</return>
 
         <return>8355455658368037295104824697168</return>
 
       </end:loginResponse>
 
       </end:loginResponse>
 +
  </env:Body>
 +
</env:Envelope>
 +
</source>
 +
 +
=== Logout ===
 +
==== Request ====
 +
<source lang="xml">
 +
<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>
 +
</source>
 +
 +
==== Response ====
 +
<source lang="xml">
 +
<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:Body>
 
</env:Envelope>
 
</env:Envelope>
 
</source>
 
</source>

Revision as of 18:01, 8 March 2010

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>