How to: |
A process flow created in iWay Designer can be exposed as a Web service through the iWay Explorer. The prerequisites to exposing a process flow as a Web service are:
You can then use the iWay adapter, accessed through iWay Explorer, to expose the process flow as a Web service, as explained in this section.
To expose a published process flow as a Web service:
For instructions on creating a new repository, see Configuring iWay Business Services Provider.
This is a connection to iWay Service Manager where the process flow is published. For more information, see the iWay Designer User's Guide.
The published system process flow appears under the target node.
As an example, the following image shows a target named Target7 and two process flows named PFIVP and Supply.
The IBS Name and Description dialog box opens. The following image shows this dialog box with an example name and description.
The Define License and Method dialog box opens. The following image shows this dialog box with an example entry for the license and method.
The Web Services tab in the Navigator pane opens showing the new Web service under the Services node, the workspace pane lists the new Web service with its description, and the Message Log displays the following message:
The iWay Business Service 'xxxxx' has successfully been created.
where:
Is the name of the new Web service.
The following image shows the iWay Designer window with an example of a newly exposed Web service named SupplyFlowService.
At this point, you have exposed the process flow as an iWay Web service. You can test the functionality of the Web service by using the built-in HTTP based Test client. To test the Web service, continue with the following steps.
The workspace pane displays the Web service methods.
The following image is an example of this pane with a Web service named SupplyFlowService and its method named Supply.
The method Test pane opens, as shown in the following image. This pane provides a text field in which to paste the XML input document or you can browse to an XML document and upload it to the test field.
The test results appear in the Test pane.
iWay Software |