Skip to main content

By clicking Submit, you agree to the developerWorks terms of use.

The first time you sign into developerWorks, a profile is created for you. Select information in your developerWorks profile is displayed to the public, but you may edit the information at any time. Your first name, last name (unless you choose to hide them), and display name will accompany the content that you post.

All information submitted is secure.

  • Close [x]

The first time you sign in to developerWorks, a profile is created for you, so you need to choose a display name. Your display name accompanies the content you post on developerworks.

Please choose a display name between 3-31 characters. Your display name must be unique in the developerWorks community and should not be your email address for privacy reasons.

By clicking Submit, you agree to the developerWorks terms of use.

All information submitted is secure.

  • Close [x]

Develop a SMF-bundled Web services client

Pierre Carlson has worked in various development and leadership roles in systems and application development for IBM Austin over the past nine years. As the Lotus Expeditor Toolkit Architect, he is leading the design and planning work for future releases of this product. Prior to this, Pierre led the WebSphere Everyplace Client Toolkit and the WebSphere Everyplace Deployment JSR-172 Web Services runtime and tools team, led the development team for the IBM Interactive Solutions Marketplace, and worked on operating systems, print drivers, and other systems. When not working for IBM, Pierre spends his free time working on a Master's degree in Computer Science.
Michael Rheinheimer is an IBM Web services runtime developer in the Software Group. He has worked in such diverse IBM groups as AIX support, Service Gateway, Extension Services for WebSphere Everyplace, and now Web services runtime. He holds a Bachelor of Science degree in Computer Science from the University of Texas. You can contact Michael at rott@us.ibm.com.

Summary:  This tutorial guides you through the steps to generate a Web services client and develop code to integrate the client into a Service Management Framework (SMF) as a SMF-bundled application. The example built in this tutorial is a stock quote client application. Using WebSphere® Studio Device Developer (Device Developer) Version 5.7 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, it guides you through the steps necessary to run the sample application in a SMF runtime.

Date:  24 Aug 2004
Level:  Intermediate PDF:  A4 and Letter (2321 KB | 45 pages)Get Adobe® Reader®

Activity:  1816 views
Comments:  

Getting started

Introduction

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.

1 of 8 | Next

Comments



Help: Update or add to My dW interests

What's this?

This little timesaver lets you update your My developerWorks profile with just one click! The general subject of this content (AIX and UNIX, Information Management, Lotus, Rational, Tivoli, WebSphere, Java, Linux, Open source, SOA and Web services, Web development, or XML) will be added to the interests section of your profile, if it's not there already. You only need to be logged in to My developerWorks.

And what's the point of adding your interests to your profile? That's how you find other users with the same interests as yours, and see what they're reading and contributing to the community. Your interests also help us recommend relevant developerWorks content to you.

View your My developerWorks profile

Return from help

Help: Remove from My dW interests

What's this?

Removing this interest does not alter your profile, but rather removes this piece of content from a list of all content for which you've indicated interest. In a future enhancement to My developerWorks, you'll be able to see a record of that content.

View your My developerWorks profile

Return from help

static.content.url=http://www.ibm.com/developerworks/js/artrating/
SITE_ID=1
Zone=SOA and Web services
ArticleID=137633
TutorialTitle=Develop a SMF-bundled Web services client
publish-date=08242004
author1-email=mpcarl@us.ibm.com
author1-email-cc=webserv@us.ibm.com
author2-email=rott@us.ibm.com
author2-email-cc=webserv@us.ibm.com

Tags

Help
Use the search field to find all types of content in My developerWorks with that tag.

Use the slider bar to see more or fewer tags.

Popular tags shows the top tags for this particular content zone (for example, Java technology, Linux, WebSphere).

My tags shows your tags for this particular content zone (for example, Java technology, Linux, WebSphere).

Use the search field to find all types of content in My developerWorks with that tag. Popular tags shows the top tags for this particular content zone (for example, Java technology, Linux, WebSphere). My tags shows your tags for this particular content zone (for example, Java technology, Linux, WebSphere).

Try IBM PureSystems. No charge.