Getting started
IBM(R) WebSphere(R) Studio Device Developer Version 5.7 (Device Developer) now provides support for the creation of Web services clients for the Java 2 Platform, Micro Edition (J2ME). The new support consists of several plug-ins that provide the runtime libraries, WSDL-to-Java language tooling, and extended documentation necessary for creating J2ME Web services clients.
To enable you to access remote Web services, the new functionality implements the J2ME Web services specification (Java Specification Request (JSR) 172). This specification identifies two independent, optional packages that you can use to access remote SOAP- or XML-based Web services and parse XML data. The IBM WebSphere Everyplace Micro Edition jclFoundation library provides support for the Foundation Profile.
In order to ease the development process, Device Developer Version 5.7 provides a wizard that auto-generates a Web service client stub code using the target Web Services Description Language (WSDL) file of Web services. From the WSDL file, the tooling generates a client stub as well as any helper classes needed to access the Web service.
The complete JSR 172 specification is available for download at the Java Community Process. See Resources for the link.
What does this tutorial cover?
This tutorial guides you through the steps in Device Developer to generate a Web services client and develop code to integrate the client into a Service Management Framework (SMF) as a SMF-bundled application. After completing this tutorial, you will have a clear understanding of how to use WebSphere Developer Domain (WSDD) to generate the client code and integrate it into SMF.
The example you build in this tutorial is a stock quote client application. Using the Device Developer Web services tooling, you can generate a client stub as a SMF-bundled application that takes a stock symbol as input and retrieves the most current price (time delayed, of course). Finally, we guide you through the steps necessary to run the sample application in a SMF runtime.
This tutorial assumes a basic knowledge of SMF, Web services, and Device Developer. You will not be required to develop any code (sample code is provided), although it is certainly helpful to have some Java language skills, including knowledge of the SMF API (documentation is available in the WSDD help) to extend the generated application to meet your particular needs.

