GetLicense
Examples of a request and response for GetLicense are given below. Note that the response for GetLicense can contain either a license or an error message. See Return Codes for more information about error messages.
Example request for GetLicense
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:ns1="http://license.x-formation.com/soap/type/enduser/version/1">
<SOAP-ENV:Body SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<ns1:GetLicense>
<activationKey></activationKey>
<hostid></hostid>
</ns1:GetLicense>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Example response from GetLicense
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:ns1="http://license.x-formation.com/soap/type/enduser/version/1">
<SOAP-ENV:Body SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<ns1:GetLicenseResponse>
<return>
<result_code>0</result_code>
<result_string>license string</result_string>
</return>
</ns1:GetLicenseResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>