Skip to main content

Testing the Dynamics NAV Web Service

Overview

When configuring the Jet Excel add-in to work with Dynamics NAV 2013's Web Service, it can be helpful to test the setup to make sure the Web Service is working as expected.

In this Microsoft article, Microsoft provides an easy test.

Below is an excerpt from that article.

Publishing a Page as a Web Service

You publish a web service using the Dynamics NAV RoleTailored client.

To publish a page as a web service:

  1. Open the Microsoft Dynamics NAV Windows client, and then connect to the CRONUS International Ltd. company.

  2. In the Search box, enter Web Services , and then press Enter.

  3. In the Web Services page , choose New

  4. In the Object Type column, select Page , and then enter 21 in the Object ID column and Customer in the Service Name column.

  5. Mark the check box in the Published column.

  6. Choose OK to close the New - Web Services page.

After publishing a web service, verify that the port that web service applications will use to connect to your web service is open. The default port for SOAP-based web services is set to 7047. You can configure this value by using the Microsoft Dynamics NAV Server Administration Tool

Verifying Web Services Availability

To verify availability of a Microsoft Dynamics NAV web service

  1. Start Windows Internet Explorer.

  2. In the Address field, enter an address of the following type:

    http://<Server>:<WebServicePort>/<ServerInstance>/WS/<CompanyName>/services.

    For example:

    http://localhost:7047/DynamicsNAV70/WS/CRONUS%20International%20Ltd./services

    Note: The company name is case-sensative.

    The browser should now show the web service that you have published:

    <contractRef xmlns="http://schemas.xmlsoap.org/disco/scl/" ref="http://localhost:7047/DynamicsNAV70/WS/CRONUS International Ltd/Page/Customer"/>

source: Updated: https://docs.microsoft.com/en-us/previous-versions/dynamicsnav-2013/dd355316(v=nav.70)

original: http://msdn.microsoft.com/en-us/library/dd355316(v=nav.70).aspx

Was this article helpful?

We're sorry to hear that.