The WSDL2Ws tool enables you to generate client stubs from a WSDL source file.
The WSDL2Ws tool uses the WSDL that is passed to it, and any associated XSD files, to create either the client or server side stubs. The code within the stub methods handles the interface with Web Services Client for C++ and provides you with one or more classes (that is, one class per service) with methods that equate to the message names in that service.
java -cp wsdl2ws.jar org.apache.axis.wsdl.wsdl2ws.WSDL2Ws
Below is a list of the options that are available to you when you are using WSDL2Ws:
Option | Description |
---|---|
-o<folder> | The target output directory. The default is the current directory. |
-sclient | The target side is client. |
For an example of how to use WSDL2Ws, see Creating client stubs.