Creating a Java ME Web Services (JSR-172) Client

See Also

With the Web Services Client wizard, you can create stub (client proxy) files and a sample client MIDlet that directly calls a Web Service using the Simple Object Access Protocol. The code stubs and sample MIDlet use a Web Service Descriptor Language (WSDL) file and implement the Web Services Specification.

To create the Web Services Client:
  1. Right-click on a project node and choose New File/Folder.
  2. In the New File wizard, choose MIDP under Categories. Under File Types, choose J2ME Web Service Client. Click Next.
  3. Identify the .wsdl file location for the Web service to be added to the project.

    The WSDL file is retrieved and the rest of the fields on the page are filled with default names derived from the WSDL file name.

  4. Press Finish.
    The IDE creates an opened settings file and generates the client stubs.
See Also
Connecting MIDP Applications to Web Services
Updating Java ME Web Services Clients

Legal Notices