Web Service Trigger is an interface, which allows a Web Service client to trigger any process flow in Adeptia Server. The Web Service client needs to pass the ID of the process flow and any input parameters that need to be passed into the Process Flow.
To trigger a Process Flow, the Web Service client needs to know details of the Web Service published and format in which input parameter can be passed.
This feature is available in:
Enterprise | Premier | Professional | Express |
---|---|---|---|
?√? | √ | ?√ |
|
Steps to get the information required by Web Service Client to trigger a Process Flow
- On the Adeptia Suite homepage, click the Develop tab.
Go to Events & Triggers > Web Service.
...
The Web Service Trigger
...
screen is displayed (see Figure 724).
...
...
Figure 724: Web Service Trigger
- This screen shows the details of the Web Service published. All the parameters needed by the Web Service client to invoke the service are displayed in this screen.
- Use the WSDL URL and Sample Input Document displayed in the Figure 724 to trigger the Process Flow.
A Sample Input Document which is to be used to trigger the process flow is displayed below (see Figure 725).
<?xml version="1.0" encoding="ISO-8859-1"?><request
xmlns:xsi='http://www.w3.org/2001/XMLSchema-
instance'><Transactionid>192168001138109626945685900003</Transactionid>
<Map><Key>name</Key><value>Adeptia</value></Map></request>Anchor _Toc134263487 _Toc134263487 Anchor _Toc144313027 _Toc144313027 Anchor _Toc144313713 _Toc144313713 Anchor _Ref144799712 _Ref144799712 Anchor _Toc177976899 _Toc177976899 Anchor _Ref186131188 _Ref186131188 Anchor _Toc208650960 _Toc208650960 Anchor _Toc239872579 _Toc239872579 Anchor _Toc315880717 _Toc315880717 Anchor _Toc401308787 _Toc401308787 Figure 725: Sample Input Document used to Trigger Process Flow
Make sure to replace the Transaction ID with the ID of the Process Flow, which is to be triggered.
Info While creating the Web Service trigger, you need to ensure that Transport security type is selected, as this trigger does not support Message security type.
To pass the parameter to the process flow, enter the key(name) and the value of the parameter in the Map tag of the XML shown above.
Info To know the ID of a Process Flow, In the Manage Process Flow page, click View link against the process flow.
Anchor _Toc144314391 _Toc144314391 Anchor _Toc177977352 _Toc177977352 Anchor _Toc226191203 _Toc226191203 Anchor _Toc315524811 _Toc315524811 Anchor _Toc317062397 _Toc317062397