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:

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.

InstallationID string Required Installation ID for which the License File is needed.

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: