XML License File Service

The XML License File Service provides methods for obtaining XML-formatted license files.

More specifically, this is the web service used by the Protection PLUS 5 SDK libraries to obtain encrypted and digitally signed xml license files.

For SOLO Server Shared URL, this can be reached at https://secure.softwarekey.com/solo/webservices/XmlLicenseFileService.asmx

Please contact us if you need assistance determining the correct URL.

Each web method in this web service is documented by a series of documentation files named after the web method as follows:

Every request accepts the optional RequestVersion element described in Request Versions, which lists what a client must implement before it declares a given version.

Important

The SoftwareKey System offers an assortment of libraries which provide APIs that simplify the invocation of these web services from your application. This collection of API libraries includes:

Please refer to the applicable product manuals and sample projects for more information on each library/API.

GetLicenseFile

This web method is used to get a license file for a given Installation (issued at the time of activation).

Input

Parameter Data Type Required/Optional Description
EncryptionKeyID string Required

The Encryption Key ID used for encrypting, decrypting, digitally signing, and verifying requests and responses. This is included in the Encryption Envelope, which may be retrieved by clicking the Configure/Products menu and clicking Actions/View Encryption Key Data.

RequestVersion int Optional

The request version the client declares it implements. Omit this element unless your client implements a later request version, and do not copy the value shown in the sample without implementing it. Declaring a version commits the client in both directions: it tells the server how this request was signed, and it tells the server the client can handle the response format that version defines, including any license file the response delivers. A request signed differently from the version it declares is rejected with a verification failure, and a client that cannot read the response format it asked for receives a response it cannot verify. When supplied it must be a positive integer. The server is lenient with bad input: an omitted, empty, non-numeric or less than 1 value is read as version 1.

ClientInfo Optional

Advisory details about the calling client library. This element is informational only and never changes how the request is processed. It can contain the child elements LibraryName, LibraryVersion and Platform, each of which is also optional and is read as an empty value when omitted.

InstallationID string Required Installation ID for which the License File is needed.
ProductVersion string Optional Product Version Number. This should be formatted like NNNNN.NNNNN.NNNNN.NNNNN, where each N represents a digit (leading zeroes are not required).

Output

Parameter Data Type Description
ResultCode int Can take the following values
  • 0 - Success
  • 5000 - Invalid EncryptionKeyID
  • 5001 - Encryption Required
  • 5002 - Signature Required
  • 5003 - Decryption Failure
  • 5004 - Verification Failure
  • 5005 - Invalid Parameters
  • 5015 - Invalid InstallationID
  • 5016 - Deactivated Installation
  • 5017 - Invalid License Status
  • 5018 - No Remaining Deactivations
  • 5019 - License Expired
  • 5022 - Invalid System Time
  • 5023 - Protection PLUS 5 SDK Access Not Enabled
  • 5030 - Protection PLUS 5 SDK evaluation has expired
  • 5031 - SOLO Server evaluation has expired
ErrorMessage string Detailed error message for the ResultCode. Only returned in error conditions (ResultCode non zero).
License string The contents of the XML License File. When encryption is being used for this file, it will be in its encrypted form here.

The documentation files for this web method are as follows: