Using the WSDL file

Sage CRM provides a Web Services description language file called a WSDL file. The WSDL file describes the APIs that Sage CRM exposes, and the XML types that the APIs expect. The file also describes the server and location of specific services. When the client has read and parsed the WSDL file, it can call the APIs in the same way as any typical function call. Since data is passed and returned as XML, it can be easily interpreted and manipulated by the client.

To access the WSDL file, in your web browser, enter the URL in the following format:

http://<ComputerName>/<InstallName>/eware.dll/webservices/webservice.wsdl

where

  • <ComputerName>. Is the name of the Sage CRM server.
  • <InstallName>. Is the name of the Sage CRM installation folder.

If you're using Microsoft Visual Studio to create a client application, your Visual Studio project should contain a web reference to the WSDL file. When you add the reference in Visual Studio, the main pane lists the methods available from the Web Services.

If you name the service CRMWebServices, a new folder called CRMWebServices is added to your project, which contains the files webservice.discomap and webservice.wsdl. The Web Service proxy is created automatically. This is a C# version of the WSDL file that handles the dispatch of data in SOAP format to the Web Service.