Configuring Web Services

Web Services allow users to extract data from SUMMIT Application by providing Input Data and Mandatory Fields. You can use either pre defined web services which comes with SUMMIT application or build Custom Services based on your organization's requirement.

To Preview a Web Service:

  1. Select Admin > Basic > Infrastructure > Web Services.
  2. Select a URL from the drop-down list.
  3. Select a service from the Custom Services list.
  4. Fill in all the mandatory fields and then click SUBMIT. The Output Data is displayed.

 

Figure: Web Services Preview page

Field Description

The following table describes the fields on the WEB SERVICES PREVIEW page:

Fields Description

Custom Services/Predefined

Services

Displays the list of services available. Select a service from the list to extract data from the application through the Web services. Type in the name of the services to search from the list. Click Filters icon to filter the services according to modules. See Screen Shot.

View Custom Services

Click View Custom Services (highlighted in red color in the above image) to display the list of Custom Services created by the users.

View Predefined Services

Click View Predefined Services (highlighted in green color in the above image) to display list of services already defined in the SUMMIT application.

Refresh Click to Refresh the list.
URL Select Input URL format from the drop-down list, either JSON Object or JSON String or XML.
Click EDIT to edit the existing URL. See Screen Shot.
Mandatory Fields Displays Mandatory Fields for the selected service.
Input Data Displays Input parameter for the selected URL Type.
Output Data Displays Output for the selected URL Type.

To Create New Custom Services:

  1. Click CREATE NEW. The WEB SERVICE DESIGNER page is displayed.

 

Figure: Web Services Designer page

 

  1. Type in the web service name and specify the number of records to be displayed.
  2. Click icon to view, hide or customize the web service properties. See Screen Shot.
  3. Select check box to select DATA SOURCE from the list. You can scroll down to see all the available Data Sources or type in the Data Source name in the search box to search a particular Data Source.
Note: If you want to use multiple Data Sources, then Create Relationship between them

 

 

  1. Click GENERATE SQL to Generate SQL Query. See Screen Shot.
  2. Click PREVIEW to view the Output the ongoing Web Service. See Screen Shot.
  3. Click SAVE. The Web Service is added to the WEB SERVICE PREVIEW list.