You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

The information on this page refers to SOAP version 2, which added this function. SOAP version 1 does not include this function.

The LicenseRemovalConfirm function confirms that a request to remove a license from a host was successful. This function requires an activation key and a HostID. Examples of a request and response for LicenseRemovalConfirm are given below

Note that the response for LicenseRemovalConfirm will contain a LAC_SUCCESS code if successful or an error message if unsuccessful. See Return Codes for more information about error messages.

Example request for LicenseRemovalConfirm

<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/enduser/version/2">
   <soapenv:Header/>
   <soapenv:Body>
      <ns:LicenseRemovalConfirm soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
         <activationKey xsi:type="xsd:string">GTVU3-J6W0U-030QX-5IM19</activationKey>
         <hostid xsi:type="xsd:string">ETHERNET=123</hostid>
      </ns:LicenseRemovalConfirm>
   </soapenv:Body>
</soapenv:Envelope>

Example response from LicenseRemovalConfirm

<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/enduser/version/2" 
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:LicenseRemovalConfirmResponse>
         <return xsi:type="ns1:Soap_Response">
            <result_code xsi:type="xsd:int">0</result_code>
            <result_string xsi:nil="true"/>
         </return>
      </ns1:LicenseRemovalConfirmResponse>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
  • No labels