Publishing a web service
Publishing a web service is one of the easiest things we will ever do in NAV. But, as stated earlier, that doesn't mean we will be able to simply publish existing objects without creating versions specifically tailored for use with Web Services. However, for the moment, let's just go through the basic publishing process.
The point of access is the Departments menu through Navigation Pane | Departments | Administration | IT Administration | General | Web Services. The Web Services page displays as shown in the following screenshot.
The first column allows us to specify whether the object is a Page, Codeunit, or Query. That is followed by the Object ID and then the Service Name. Finally, the Published flag must be checked. At that point, the web services for that object have been published.