The Login function is used to log a LAC administrator into LAC using a valid login and password. The response returns a token that must be used to run any other Vendor API functions. The token is valid for 3 hours from successful login.

Return values

The response is of the type Soap_Response_Login.

Example request

<soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns="https://license.x-formation.com/soap/type/vendor/version/1?wsdl">
   <soapenv:Header/>
   <soapenv:Body>
      <ns:Login soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
         <username xsi:type="xsd:string">demo</username>
         <password xsi:type="xsd:string">demo</password>
      </ns:Login>
   </soapenv:Body>
</soapenv:Envelope>


Example response

<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns1="https://license.x-formation.com/soap/type/vendor/version/1?wsdl"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/">
   <SOAP-ENV:Body>
      <ns1:LoginResponse>
         <return xsi:type="ns1:Soap_Response_Login">
            <token xsi:type="xsd:string">390bbf1a84283460a847b492843d96c57c5eff58</token>
            <result_code xsi:type="xsd:int">0</result_code>
            <result_string xsi:nil="true"/>
         </return>
      </ns1:LoginResponse>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
  • No labels