You can use web services in a workflow by importing them into the CommCell environment.
Procedure
-
From the CommCell Browser, right-click the Workflows node and then click All Tasks > Web Services.
If you have the Workflow editor window open, navigate to the left pane and click Web Services
.
-
In the Web Services dialog box, click Import and do the following in the Import Web Service dialog box:
-
In the WSDL Location box, enter the URL of the web service (the actual WSDL) and then click Go.
All available web services from the Web Services Description Language (WSDL) provided are shown. You can select or clear the web services you want to import. For example, the following WSDL is for a web service which returns a stock quote: http://www.webservicex.net/stockquote.asmx?WSDL.
-
By default, the workflow engine uses the service URL found in the WSDL to send the web service request. If you want the engine to use a different service, enter the desired service in the Service URL box.
-
In the Execute On box, select the workflow engine that will parse the WSDL and import the web service as an activity.
Note
After the web service is imported, it is available to all of the workflow engines in your environment.
-
Click OK.
-
-
Click OK to the pop up window indicating that the web service was successfully imported.
-
Click Close.
-
To verify the new activity created from the web service, navigate to the Activities pane in the Workflow editor window.
Based on the example provided in the above image, the GetQuote activity should be listed and ready to be used in the Workflow.