Creating web service methods
To create a web service method:
- Select System > Web Service Maintenance from the SynWeb main menu.
The Web Service List window is displayed. - Click .
The Web Service view of the Create Web Service Method window is displayed. - Type in the Method Name, and a Summary of the method.
Note: Web service names should start with a U. For example, UGetStudentDetails.
- Click .
The Version view of the Create Web Service Method window is displayed. - Type the Version number.
Note: Each version of a web service method must have a unique version number.
- Select the Synergetic database the web service method connects to in the Database Name field.
- Select the Stored Procedure from the database the web service method uses.
- Add a Version Comment to note any changes you have made to the details in this version.
- Click .
The Parameters view of the Create Web Service Method window is displayed. - Select the fields the web service method uses as parameters.
- Type in a Default value to be used when no value is passed to the web service method.
- Type in a Description to indicate why the parameter is required.
- Select Read Only if no value but the default should be passed to the web service method.
- Click .
The Output view of the Create Web Service Method window is displayed. - Select the database columns that the web service method returns.
- Click.
Review the web service method and either click:
- to return to previous views and edit the web service method
- to save the web service method.
The web service method is displayed in the Web Service List window. See Web Service List window.