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]

Integrating SOAP Web services in WebSphere sMash applications

Using the REST to SOAP extension

Dustin Amrhein (damrhei@us.ibm.com), Staff Software Engineer, IBM
Author photo
Dustin Amrhein joined IBM as a member of the development team for WebSphere Application Server. While in that position, Dustin worked on the development of Web services infrastructure and Web services programming models. In addition, Dustin lead the technical effort in the development of a Java RESTful services framework. In his current role, Dustin is a technical evangelist for emerging technologies in IBM’s WebSphere portfolio. His current focus is on WebSphere technologies that deliver cloud computing capabilities, including the WebSphere CloudBurst Appliance.

Summary:  You can probably think of many scenarios in which you might want to reuse existing SOAP Web services in new applications. The IBM® WebSphere® sMash REST to SOAP extension enables you to provide REST access to existing SOAP Web services, providing easier and more intuitive access to such functions. This tutorial demonstrates how you can use the WebSphere sMash REST to SOAP extension to leverage a SOAP Web service deployed on IBM WebSphere Application Server. The SOAP Web service will serve to provide data for a Dojo-based widget provided by WebSphere sMash.

Date:  26 Aug 2009
Level:  Intermediate PDF:  A4 and Letter (591 KB | 22 pages)Get Adobe® Reader®

Activity:  27937 views
Comments:  

Before you start

This tutorial provides guidance for using the IBM WebSphere sMash REST to SOAP extension, which enables you to leverage existing SOAP Web services functionality in new Web applications. This tutorial also discusses the WebSphere sMash Zero Resource Model (ZRM), and demonstrates pre-built Dojo widgets that are delivered with the WebSphere sMash product.

Objectives

This tutorial walks you through the process of building a sample widget that pulls stock prices for specified companies. The widget will communicate RESTfully with a WebSphere sMash application script written in PHP. The result of this communication will be the integration of data stored in a relational database, and data retrieved from a SOAP Web service application hosted on IBM WebSphere Application Sever. The end result will be a graphical user interface (GUI) that displays company names, their stock symbols, and stock prices. The interface will let users add companies of interest to display and remove those that are no longer needed.

Through this exercise, you will learn about the WebSphere sMash REST to SOAP extension, the WebSphere sMash Zero Resource Model, and a subset of the prebuilt Dojo widgets delivered with WebSphere sMash. As part of the tutorial, you will also install a Java™ Enterprise Edition (Java EE) Web service application to the WebSphere Application Server environment.

Prerequisites

This tutorial is intended for Web application developers, and assumes a general knowledge of Web application technologies, such as HTML, Java, and JavaScript™. It is helpful if you understand both REST and SOAP Web services concepts, but expertise in either area is not required. Familiarity with WebSphere sMash is also helpful, but not mandatory.

System requirements

To follow this tutorial, you need access to both a WebSphere sMash (V1.1.1) and WebSphere Application Server (V6.1 or V7.0) installation. You can download both WebSphere sMash Developer's Edition and WebSphere Application Server for Developers for free (see Resources). For the WebSphere Application Server, you will need to create a default application server profile that can host a Web service application.

As an alternative to installing WebSphere sMash and WebSphere Application Server on your own machine, you can leverage the Amazon Machine Images for each of these products and host instances on the Amazon Elastic Compute Cloud (EC2). You can get started with these products (and more) on Amazon EC2 by visiting the developerWorks Cloud Computing Resource Center.

Regardless of whether you install the software locally or leverage them on Amazon EC2, the steps in this tutorial will be the same.

Duration

If you already have WebSphere sMash and WebSphere Application Server already installed, this tutorial will take approximately 2 hours to complete.

1 of 13 | 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=WebSphere, Web development
ArticleID=422486
TutorialTitle=Integrating SOAP Web services in WebSphere sMash applications
publish-date=08262009
author1-email=damrhei@us.ibm.com
author1-email-cc=

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.