Use the Java ME Web Service Client wizard if you want to use the
Web Services specification to create a "two-tier" connection to Web
services. This wizard creates stub (client-side proxy) files that calls a web service.
You open the Java ME Web Service Client Information Wizard by selecting a project
then choosing File > New File and selecting Java ME Web Service Client from
the MIDP Category.
You need the Mobility End to End modules installed for Web Services to work. You can get the
modules from the Plugins Manager or by downloading the full distribution of the IDE.
You must have a device or emulator platform that supports the JSR-172 specification
to compile, run and deploy this wizard.
In the Client Information page, you set the following properties:
Source of the WSDL description.
Identifies the location of the .wsdl file that describes the
Web service you want to access.
Running Web Service. Choose this option if the service
is on the Web.
Enter a URL for the .wsdl file, then specify a local filename
to use when the file is retrieved and downloaded to your system.
Click the Retrieve WSDL button to download the file to your system.
Click the Proxy Settings button if your system is behind a firewall.
Existing WSDL File. Choose this option if the file
is already on your system. Use the browse button to navigate to the file
and select it.
Client file to be created:
Enter information into the following fields:
Client Name. Name of the client file to be created.
Package. Choose a package location for the client file.
Created File. Shows location of file created by the wizard.
Generate Data Binding Structures. Checking this box generates to data types listed in the WDSL file.