Use the J2ME 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 and, optionally,
a sample client MIDlet that calls a web service.
You open the J2ME Web Service Client Information Wizard by selecting a project
then choosing File > New File and selecting J2ME Web Service Client from
the Mobile Category.
You must have a device or emulator platform that supports the JSR-172 specification
to use 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.
Create Sample MIDlet. Check this checkbox to create a sample
client MIDlet that consumes Web services.