Create a New Web Method

The sub-branches beneath a newly created Web Service (as mentioned in Create a New Web Service) allow you to create a Web Method, which allows you to select from different data sets that can be selected from later within an integrated ICONICS application (GraphWorX64, etc.).

 

To Add a New Web Method

  1. Right-click on a sub-branch beneath a Web Service and select "Add Web Method", as shown below.

Adding a New Web Method

 

-OR-

 

Select a sub-branch beneath a Web Service, then click on the Add Web Method button, shown below,  in the Edit section of the Home button in the Workbench.

 

Add Web Method Button

  1. This opens the Web Method properties in the right-pane of the Workbench, as shown below. Enter a Name in the top text entry field.

New Web Method Properties

General Settings Tab

Web Method Properties - General Settings Tab

 

General Settings

Return Schema

Parameters Tab

Web Method Properties - Parameters Tab

 

Parameters

 

Click the "+ Click here to add new item" link to add a new default parameter. You can then enter a Name, Value, and Kind (using the pulldown menu, select from Query String or POST Body, Cookie, URL Segment, HTTP Header, Query String, or Request Body) and select whether the parameter will be Sensitive (by clicking the checkbox within that column).

Data Refresh Tab

Web Method Properties - Data Refresh Tab

 

Refresh Options

Refresh Triggers

 

If a Refresh Type of "By Triggers" is selected, you can click on the + Click here to add new item link to create a new Refresh Trigger. Once activated, you can enter a Tag Name in the text entry field or click on the button to open the Data Browser and navigate to your selected Tag Name.

  1. Once you have completed making edits to the Web Method Instance, click Apply to save your settings and Close to exit.

See Also:

Create a New Folder

Create a New Web Service

Web Services Overview

Create a New Web Manipulator