Java Client Application for Real-time Web Services
Java Client Application for Real-time Web Services
This section provides instructions for using the Axis Web Services Toolkit to create a Java client application program that calls a
CDI-PC
real-time web service. For more information about using the Axis Web Services Toolkit see the documentation on the Apache web site:
http://ws.apache.org/axis/java/user-guide.html
Before you create the client application that calls a
CDI-PC
web service workflow, you must first create the web service workflow and generate the WSDL for the web service. You then create the client application based on the web service WSDL.
To create a
CDI-PC
web service and generate the WSDL, complete the following steps:
Create a mapping for the web service workflow. You can create a mapping to receive a message from a web service client, transform the data, and send the response back to the web service client or write it to any target that
CDI-PC
supports.
Create a workflow and enable it as a web service. Create a workflow to run the mapping and enable the Web Services option in the workflow properties. Select the Runnable option so that client applications outside of
CDI-PC
can run the workflow.
Locate and download the WSDL for the web service workflow. When you create the web service workflow,
CDI-PC
generates a WSDL for the web service. If you configure the web service to be visible, you can view the WSDL on the console of the Web Services Hub associated with the web service.
After you create the web service, you can develop a client application to run the web service workflow.