Dear Serouche,

You use an external web service by creating a Web Service Set Fields filter
action to enter the data from the web service into your base form. You can
then view the form in an AR System client. Make sure that you do not have
other filters acting on the same form that might skew the data, or prevent
the
data from the external web service from displaying.

To create a Set Fields filter to import an external web service
1 Create a form to use as your base form for the external web service.
Before you create your fields to hold the data, check the WSDL file to see
the
element types that you are going to map to your fields. You can only map
fields and XML elements of the same type. If you hover your cursor over the
field name or XML element displayed in the mapping dialog box, the tooltip
will show the data type.

2 Select the relevant AR System server in the server window and click the
New
Server Object button.

3 Select Filter in the New Server Object dialog box, and click OK.

4 Enter a name for your web services filter.

5 Select the Base form from the Form Name list.

6 Add any execution criteria that you need.

7 Click the If Action tab or the Else Action tab.

8 Select Set Fields from the New Action list.

9 From the Server Name field list, select the server on which the web
service
mappings will be stored as a server object.

10 From the Read Value for Field From list, select WEB SERVICE.

11 Enter the URL for the Web Service Description Language (WSDL) file for
the
web service that you want to consume, and click Load.

12 Remedy Administrator parses the WSDL file,
identifies viable operations, and lists them in the Choose Operation field.
The name of the web service is displayed automatically in the Web Service
Name field.

13 Choose the operation that you would like the web service to perform.
The examples uses getQuote.

14 Click Input Mapping.

15 In the tree on the left, select an XML data type, such as symbol, and
then click
in the tree on the right to select the corresponding AR System form field,
such as Stock Symbol.

16 Click Map to add these fields to your Mapping Summary.

17 When you finish, click OK to save your input mappings.

18 Click Output Mapping.

19 In the tree on the left, select an XML data type, such as Result, then,
in the
tree on the right, select the corresponding AR System form field, such as
Stock Quote.

20 Click Map to add these fields to your Mapping Summary.

21 Click OK to save your output mappings.

22 Save your Set Fields from Web Service filter action.

You can test your new filter in the Remedy User client to make sure that the
Web Service data is being properly consumed.


Hope this Helps

Regards,
Roney Samuel Varghese

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:"Where the Answers 
Are"

Reply via email to