Web service users can discover published web services by pointing a browser or a tool such as the Web Services Discovery Tool at the computer running Microsoft Dynamics NAV Server and getting a list of available services. For SOAP web services, you typically enter a URI in a browser to view a list of available Microsoft Dynamics NAV web services or to view a schema for a particular web service.
URIs for SOAP Web Services
To display all published SOAP web services that are exposed by a Microsoft Dynamics NAV Server instance, use a URI of the following type:
Copy Code | |
---|---|
http://<Server>:<Port>/<ServerInstance>/WS/<CompanyName>/services |
The following example displays all published SOAP web services that are exposed for the CRONUS International Ltd. demonstration database.
Copy Code | |
---|---|
http://localhost:7047/DynamicsNAV/WS/CRONUS%20International%20Ltd/services |
To view the schema for a particular service, use a URI of the following type:
Copy Code | |
---|---|
http://<Server>:<Port>/<ServerInstance>/WS/<CompanyName>/Page/<servicename> |
The following example displays the schema for the Customer service for the CRONUS International Ltd. demonstration database.
Copy Code | |
---|---|
http://localhost:7047/DynamicsNAV/WS/CRONUS%20International%20Ltd/Page/Customer |
You can also use a URI for a codeunit web service, as shown in the following example:
Copy Code | |
---|---|
http://localhost:7047/DynamicsNAV/WS/CRONUS%20International%20Ltd/Codeunit/Letters |