Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

3. To get the SOAP API reference, enter the proper URL for the wsdl file (for the Vendor SOAP API: https://license.x-formation.com/soap/type/vendor/version/1?wsdl; for the End-user SOAP API: https://license.x-formation.com/soap/type/enduser/version/1?wsdl). You can also change the Namespace to LACVendorAPI or LACEnduserAPI as appropriate. Click Go to auto-generate all required classes.

Note: By default, the maximum size of the auto-generated SOAP binding received message is 65536. You should adjust this value as needed (for example, you may need to increase the maximum size for large license files) by setting the values of maxReceivedMessageSize and maxBufferSize binding parameters in the app.config file for the project. The set value should be identical for both parameters.

Vendor SOAP API example

For a Vendor SOAP API example, replace the Program.cs file with the one attached to this page. This example usage of the LAC Vendor SOAP API lets you remotely add new customers and create a new license order of an existing product in LAC. The only changes you need to make are to the credentials, the product and product template name, and the customer information.

Download file

Program.cs

End

...

user SOAP API example

The following code snippet attached End user SOAP API example implements license activation using SOAP API and the web service reference classes generated as described above.

...