Use a web service task to trigger an external
process. Web services let software programs interact with one another
using standard Internet protocols, so interaction is not dependant
on operating system or program language compatibility. Web services
also work well in a distributed environment because they use URLs
to reference programs.
You can also add other types
of tasks.
Before you begin
Before you add any type of task, you must specify an event
condition.
When you specify the web service URL, IBM® Cognos® Event
Studio calls a web server and requests the Web Services Description
Language (WSDL). This shows you the web service input and output parameters.
Note: Before you can run a web service task in Cognos Event Studio, you must follow additional
preparation steps. For more information, see
Preparing to Run a Web Service Task.
Procedure
- In the I want to area, click Add
a task.
- Click Advanced.
- Click Call a Web service.
- In the Web service URL box, type
the URL of the web service.
If the URL points to a
web site address, you must include the protocol, such as http.
- Click Retrieve.
The
available web service operations are retrieved.
- Under Operation, click the web service
operation you want to perform.
The available method
and the list of arguments is retrieved.
- If the operation includes arguments, under Arguments,
choose how to specify values for each argument:
- If you are using a value, in the Method column,
click Use a value, click Specify
values, and in the Value column,
type a value.
- If you are using an item, in the Method column,
click Use an item and drag an item from the source tab
or from the data
items tab
to the Value column.
Tip: To clear the argument values and return to the
default values, click Reset to default.
- From the File menu, click Save
.
Results
You can preview the web service task. When the agent performs
the web service task, it calls the web service and runs its service.