Microsoft Dynamics NAV - C/SIDE Solution Development -

Microsoft Dynamics NAV – C/SIDE Solution Development

Locus IT ServicesMicrosoft Dynamics NAV – C/SIDE Solution Development

Lesson 2: Registration Web Service

Registration Web Service

Registration Web Service : CRONUS International Ltd. wants to automate the seminar registration process as much as it can. It plans to deploy a website that lets web users see the list of available seminars and register for scheduled seminars.

Solution Design

The functional requirements document for the CRONUS International Ltd.

implementation includes the following requirements:

  • External applications must be able to retrieve the list of scheduled seminars. The information that is available to the external applications must include at least the following: o Name of the seminar o Starting date of the seminar o Duration of the seminar o Status of the seminar o Maximum participants  o Number of registered participants
  • External applications must be unable to delete or modify information about scheduled seminars.
  • External applications must be able to register new users for a seminar if the maximum number of participants has not been reached.

Your obvious choice is to use the SOAP web services and expose the necessary functionality.

Retrieving List of Scheduled Seminars

External applications must be able to retrieve the list of scheduled seminars.

Reading data is best achieved through a page web service, where you can use the ReadMultiple method to retrieve multiple records from a page. Because the data must only be read, your simplest choice is to expose the Seminar Registration.

List page. This page already includes most of the information that is specified in the requirement. The only information that CRONUS requires, and that the page does not expose, is the number of registered participants. You can solve this by adding a new flow field to the table, and to the page in Microsoft Dynamics NAV.

You should try to expose only necessary information to external applications. Make sure that no sensitive data is available to anyone who does not absolutely require such data. Because the Seminar Registration List page includes more information than is specified in the requirement, consider creating a completely new page specifically for integrating with web services.

Locus IT Project Management Office
What’s it?