This example shows you how to create a MIDlet that acts as a web
service client interfacing with a remote server. The web service exposes
one simple operation (getCapital(String nation)
)
that takes a country name as a parameter and returns the name of the
country's capital.
Note: This example focuses on the client side of the server-client implementation.
Figure: CapitalMIDlet views
You need the following to develop and test this MIDlet:
Series 40 5th Edition or S60 3rd Edition FP2 SDK or newer
Series 40 5th Edition or S60 3rd Edition FP2 device or newer
For instructions on how to set up the Java ME development environment, see section Setting up the development environment.
For more information about the MIDlet, see:
Design for information about the design and functionality of the MIDlet
Implementation for information about implementing the MIDlet
You can download the project files for the MIDlet from the download page.