Don't use this wiki
User Guide
WSDL2WS_J2ME tool accept a wsdl file and generate client side stubs for accessing webservices.
1.To use this tool the following jar files should be added in the class path {{{ axis.jar
- commons-discovery.jar commons-logging.jar jaxrpc.jar log4j.jar Saaj.jar Wsdl4j.jar }}}
2.When running the tool, The user should have specified the name of the specific wsdl file with full path.
3.The output path should be specified after -o. If the output path is not specified the stubs will be created in a folder genstubs in the current directory.
The operations defined in the generated stub should be called from the mobile application (MIDLet class) by a different thread other than the main thread. If it is called by the main thread it will cause deadlock. So the MIDLet class class should implements Runnable interface and the stub should be called within the run() method.