How to Generate a Java Web Service Client

To save a Web service call:
1. Create a Web service call as described in How to Compose a Web Service Call.
2. Test the SOAP request by clicking the Preview Result button, and verify that it returns the results you require.
3. Click WebServiceCall > Generate Java Web Service Client from the Stylus Studio menu.

The Generate Java Web Service Client dialog box appears.

Figure 365. Generate Java Web Service Client Dialog Box

4. Optionally, change the default target directory.
5. Optionally, change the default setting to add generated classes to the current Stylus Studio project.
6. Click OK.

Stylus Studio generates the Java classes for the WSDL in the current Web service call.

Free Stylus Studio XML Training:
W3C Member