If you are using a proxy server, you must configure the emulator’s proxy server settings as described in Configuring the Web Browser and Proxy Settings. Build and run the example.
JSR172Demo contains a single MIDlet named Server Script. Launch it and follow the prompts. You can browse through simulated news headlines, all of which are retrieved from the web service.