Web services extend the availability of server-based applications and services
to remote clients.
Mobile client applications use the same Web
services architecture as do larger Java SE applications:
SOAP (Simple Object Access Protocol)
WSDL (Web Service Definition Language)
The IDE enables you to create client MIDlets that can connect to Web services
either through a direct "two-tier" architecture, or a "three-tier"
architecture that connects to Web services through a middleware Web application.
The IDE provides two wizards for creating the connecting classes:
The Java ME Web Service Client wizard.
Use this 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 with an addtional option to create data binding structures.
You must have a device or emulator platform that supports the JSR-172
specification to compile, run and deploy projects created by this wizard.
The Mobile Client to Web Application Generator.
Use this wizard to create a "three-tier" connection to Web services
if your devices do not support the JSR-172 Web Services specification. The
wizard generates a servlet that connects to a web application that includes
a web service client.
Before you use the Mobile Client to Web Application Generator, you must
have a Web project that includes a Web service client.