This documentation supports the 9.1 version of Remedy Action Request System.

To view the latest version, select the version from the Product version menu.

Creating a Set Fields web service filter action

To use an external web service, you create a Set Fields filter action with WEB SERVICE as the data source to enter data from the web service into the base form. You can then view the form in a BMC Remedy AR System client. The Set Fields filter action invokes the web service using its WSDL.

Make sure that other filters are not acting on the same form that might skew the data from the external web service or prevent the data from appearing.

To create a Set Fields web service filter action

  1. In BMC Remedy Developer Studio, create a form to use as your base form for the external web service.
    Before you create fields to hold the web service data, review the XML element types in the WSDL file of your external web service. You can map only fields and elements of the same type. See Mapping an XML element to a BMC Remedy AR System field.
  2. Select File > New > Filter.
  3. Select the server on which you want to create the filter, and click Finish.
  4. Right-click the Associated Forms panel, then select Expand All Panels.
  5. In the Associated Forms panel, click the Add button.
  6. In the Form Selector dialog box, select the base form and click OK.
    The data is set to this form. To push the data to other forms, create workflow.

    Tip

    Use the filtering options and the Locate field to navigate through the list of forms.

  7. In the State list, select Enabled.
    You might want to disable the filter during development, or when you detect a problem.
  8. In the Execution Order field, enter the execution order for the filter.
    The value you enter in this field determines the order in which the filter executes relative to other filters with the same triggering condition. Numbers between 0 and 1000 are valid values; lower numbers are processed first. Some filter actions might be queued and performed at a later time.
  9. Select a check box corresponding to the operation that activates the filter.
    If you select multiple options, the filter executes when any of your selected operations runs.
  10. To refine the selection criteria, enter a qualification statement in the Run If Qualification panel.
    When the qualification is met, If Actions are executed. When the qualification is not met, Else Actions are executed.

    Tip

    You can type or paste the qualification, or you can use the Expression Editor to build it. To open the Expression Editor, click the ellipsis button [...] adjacent to the field.

  11. In the Error Handler panel, verify that error handling is disabled.
  12. Right-click the If Actions panel or the Else Actions panel, select Add Action, and select Set Fields.
  13. From the Data Source list, select WEB SERVICE.
  14. From the Server Name list, select the server on which to store the web service mappings as a server object.
  15. In the WSDL File field, enter the URL for the WSDL file of your external web service.
    1. To select a WSDL file located on your local hard drive or LAN, click the ellipsis button and navigate to the WSDL file.
    2. To search for the WSDL of a web service that is registered in the BMC Atrium Web Service Registry, use the AR System Web Services Registry Query form. See Querying the registry. Cut and paste the resulting WSDL URL into the WSDL File field.
  16. When Developer Studio parses the WSDL, the End Point field appears and is populated with the end point stored in the WSDL. You can use the existing end point or modify it as follows:
    • Directly enter a different end point URL.
    • Enter an expression to cause BMC Remedy AR System server to query the registry at runtime to obtain the end point URL. See Querying the registry.
  17. Click Reload.
    BMC Remedy Developer Studio parses the WSDL file, identifies viable operations, and lists them in the Operation list.
  18. If prompted, enter the user name and password required by the remote web server for basic authentication.
  19. From the Port list, select the web service Port from which to select the operation.
  20. From the Operation list, select the operation for the web service to perform.
  21. Select an authentication method from the Authentication list. (See Specifying authentication information for consuming a web service.)
  22. Create input and output mappings. For mapping procedures, see Mapping web service data.
  23. Click File > Save to save the filter.

To view the web service data in a BMC Remedy AR System client, open the base form and other forms to which the data is pushed.

For information on using operators such as LIKE, AND, or OR when consuming a web service, see Knowledge Base article ID 000030609.

Was this page helpful? Yes No Submitting... Thank you

Comments

  1. Uwe Ryczek

    At point 22. you refer to the document "Mapping web service data", which belongs to Web Services the AR Server offers, not consuming Web Services with a filter set fields action. Please describe the mapping of fields for consuming a Web Services, f.e. a BMC Atrium Orchestrator ORCA WS!

    Oct 25, 2017 09:13