The CreateLicenseRequest function creates a license request and pushes it to generation. Examples of a request and response for CreateLicenseRequest
...
are given below.
Note that the The result string for CreateLicenseRequest can will contain an error message if unsuccessful. See Error Return Codes for further information on error messages. Examples of a request and response for CreateLicenseRequest are given below.
Example request for CreateLicenseRequest
No Format |
---|
<?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:CreateLicenseRequest> |
...
<activationKey>9EFJK-TVJM0-MCDET-EZKXJ</activationKey> |
...
<hostid>HOSTNAME=my_hostname</hostid> |
...
</ns1:CreateLicenseRequest> |
...
</SOAP-ENV:Body> |
...
</SOAP-ENV:Envelope> |
Example response from CreateLicenseRequest
No Format |
---|
<?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:CreateLicenseRequestResponse> |
...
<return> |
...
<result_code>0</result_code> |
...
<result_string></result_string> |
...
</return> |
...
</ns1:CreateLicenseRequestResponse> |
...
</SOAP-ENV:Body> |
...
</SOAP-ENV:Envelope> |