Creating web services
The web services allow sharing of an application's functionalities to an external system and its users. It also takes proper authorization before sharing any information. In Microsoft Dynamics NAV, creating a web service is an easy task; we can expose pages, codeunits, and queries as web services.
How to do it...
Start Microsoft Dynamics NAV RoleTailored
client
and follow the steps.Either search for
Web Service
in NAV's search, or from theDepartment
menu, visit the following path:CRONUS International Ltd.
|Departments
|Administration
|IT Administration
|General
|Web Services
.Create a new web service using the following record:
Object Type
Object ID
Service Name
Published
Page
22
Customer List
Yes
Close the page.
How it works...
We can publish two types of web services, SOAP
and OData
. The SOAP
web service provides flexibility for building an operation-centric service. We can publish a page or a codeunit as SOAP services. The OData
web service is designed for...