Publish a Web Service
After the objects were imported or updated you should publish the SC - NAV2009 WebService codeunit as a web service using form 810 Web Services:
Step 1: Open Object Designer.
Step 2: Click the Codeunit button.
Step 3: Make sure that the codeunit SC - NAV2009 WebService (object ID: 11123303) is available.
Step 4: Click the Form button.
Step 5: Locate the Web Services form (object ID: 810) and click Run.
Step 6: Create a new line with the following information:
Object type - Codeunit
Object ID - 11123303
Service Name - SC_NAV2009_WebService
Published - Yes (select the check box)
Service Name must be SC_NAV2009_WebService, exactly the same as stated above.
Step 7: Close the window and you are done.
Now you should check whether the new SC web service is published correctly. In order to do this:
Step 1: Open Internet Explorer (please note that only Internet Explorer can be used).
Step 2: Paste the following link in the address field: http://localhost:7047/DynamicsNAV/WS/CRONUS International Ltd/Codeunit/SC_NAV2009_WebService.
Step 3: Press Enter.
The company name in the link (in our case it is CRONUS%20International%20Ltd) depends on the company name in a demo database you are going to use.