Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Work Tasks

InvokeWebService: Web Service Details

  • Last UpdatedJul 01, 2024
  • 3 minute read

You can manage Web Services from the Web Service Details window.

The Web Service Details window lists all the web services configured for the application or workflow. The upper section of the  window shows the web service details. The lower section of the window shows a preview of the methods of the selected web service if this provision is enabled.

The Web Service Details window has the following controls:

  • Preview Methods: Enable the method preview display.

  • Add: Add new web services.

The following image shows the Web Service Details window with the Preview Methods enabled:

To add a Web Service

  1. Click Add.

    The window to add a web service appears.

  2. Enter the following information:

    • WebService Name: Type a name for the Web Service.

    • WebService URL: Type the Web Service URL. You must enter a WSDL URL.

      For example: localhost/SkeltaWebService/WorkfllowClient.asmx?wsdl

      You can also enter an IPv6 address for the WebService URL. The IPv6 address must be enclosed within square brackets.

    • Authenticated: Select if the web service requires authentication. When you select the Authenticated box, additional authentication fields appears.

      Enter the following information:

      • Login Name

      • Password

      • Domain Name

      • Proxy URL

  3. Click Save.

The following image shows a sample window for adding a web service:

The following image shows a sample window for adding a web service when the WebService URL is an IPv6 address:

Binding a Web Service

  1. Right-click a web service.

    The context menu shows EditDeleteBind, and Refresh options. 

  2. Click Bind to bind the selected web service to the database.

    The Methods list of the web service appears in a new dialog box. This window also displays the Public Fields List window in case there are public fields in the selected web service. 

  3. Select the required method, and then click Bind Parameters.

    A dialog box appears that shows the details of the parameters of the selected method.

    You can click on the List button to return to the Web Services List page.

  4. Select a Variable or an XML Variable to save the Web Service output in the Save Output in drop down. 

  5. If you select the Save Output in option as XML Variable, you can either use the available XML Variable or create your own XML Variable.

  6. Click Create XML Variable to create an XML variable.

    The Create XML Variable dialog box appears.

  7. Type the XML Variable Name, and then click Create.

  8. If authentication is required, enter the Login Name, Password, and Domain Name.

  9. Click Update.

    Note: If the web method returns multi-level complex object, then create the XML variable in Start Activity using a sample XML schema returned by the web method. Then select this variable in the Invoke Web Service activity.

    In This Topic
    TitleResults for “How to create a CRG?”Also Available in