ActivationServer
Click here for a complete list of operations.
ActivateLicense
Test
To test the operation using the HTTP POST protocol, click the 'Invoke' button.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /solo/webservices/activationserver.asmx HTTP/1.1 Host: secure.softwarekey.com Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://secure.softwarekey.com/solo/webservices/ActivateLicense" <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <ActivateLicense xmlns="http://secure.softwarekey.com/solo/webservices/"> <licenseID>int</licenseID> <password>string</password> <productID>int</productID> <code1>int</code1> <code2>int</code2> <serialNumber>int</serialNumber> <requireRegistration>boolean</requireRegistration> </ActivateLicense> </soap:Body> </soap:Envelope>
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <ActivateLicenseResponse xmlns="http://secure.softwarekey.com/solo/webservices/"> <ActivateLicenseResult> <ErrorCode>int</ErrorCode> <ErrorMessage>string</ErrorMessage> <Product>string</Product> <LicenseID>int</LicenseID> <Quantity>int</Quantity> <RegCode1>int</RegCode1> <RegCode2>int</RegCode2> <LicenseUpdate>string</LicenseUpdate> <UnlocksLeft>int</UnlocksLeft> </ActivateLicenseResult> </ActivateLicenseResponse> </soap:Body> </soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /solo/webservices/activationserver.asmx HTTP/1.1 Host: secure.softwarekey.com Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <ActivateLicense xmlns="http://secure.softwarekey.com/solo/webservices/"> <licenseID>int</licenseID> <password>string</password> <productID>int</productID> <code1>int</code1> <code2>int</code2> <serialNumber>int</serialNumber> <requireRegistration>boolean</requireRegistration> </ActivateLicense> </soap12:Body> </soap12:Envelope>
HTTP/1.1 200 OK Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <ActivateLicenseResponse xmlns="http://secure.softwarekey.com/solo/webservices/"> <ActivateLicenseResult> <ErrorCode>int</ErrorCode> <ErrorMessage>string</ErrorMessage> <Product>string</Product> <LicenseID>int</LicenseID> <Quantity>int</Quantity> <RegCode1>int</RegCode1> <RegCode2>int</RegCode2> <LicenseUpdate>string</LicenseUpdate> <UnlocksLeft>int</UnlocksLeft> </ActivateLicenseResult> </ActivateLicenseResponse> </soap12:Body> </soap12:Envelope>
HTTP POST
The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.
POST /solo/webservices/activationserver.asmx/ActivateLicense HTTP/1.1 Host: secure.softwarekey.com Content-Type: application/x-www-form-urlencoded Content-Length: length licenseID=string&password=string&productID=string&code1=string&code2=string&serialNumber=string&requireRegistration=string
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <Activation xmlns="http://secure.softwarekey.com/solo/webservices/"> <ErrorCode>int</ErrorCode> <ErrorMessage>string</ErrorMessage> <Product>string</Product> <LicenseID>int</LicenseID> <Quantity>int</Quantity> <RegCode1>int</RegCode1> <RegCode2>int</RegCode2> <LicenseUpdate>string</LicenseUpdate> <UnlocksLeft>int</UnlocksLeft> </Activation>