J2ME™ Web Services Demo ApplicationJava™ 2 Platform, Micro Edition, Wireless Toolkit
|
The Java™ 2 Platform, Micro Edition (J2METM) Web Services Demo application is an example MIDlet suite that demonstrates how an application can access standard web services. The Wireless Toolkit contains a C stub generator that enables you to use the data in a Web Service Description Language (WSDL) file that is provided specifically for this demo application. You will use the stub generator to generate classes with stub APIs. The stub APIs are used by the Server Script application to look for fabricated news headlines collected from the test Web Service.
To run the Web Services Demo, follow these steps:
The entry is case sensitive so type the output package name as shown.
The default emulator opens with the Server Script application loaded.
Example server code is provided with the Web Services demo (jsr172demo). It is located in the server directory of the demo. Refer to the example batch or shell files to compile and deploy the server code. JavaTM Web Services Developer Pack 1.2 is required for compiling and deploying the server code.
Copyright © 2003 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.