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]

Design SOA services with Rational Software Architect, Part 4: Generate and test Web services from UML models

Lee Ackerman, Sr. Product Manager, IBM
Lee Ackerman
Lee Ackerman is a Sr. Product Manager with the Rational Expertise Development & Innovation team. He focuses on creating intellectual capital assets that enable users of the Rational model driven development tooling to succeed in creating J2EE and SOA solutions.
(An IBM developerWorks Contributing Author)
Bertrand Portier, IT Architect, IBM
author photo
Bertrand Portier, IT Architect, is from IBM Software Group SOA Advanced Technologies (ex EIS). He works in the field on strategic SOA transformation projects and, based on these experiences, works with IBM Software Group development teams. His background is in J2EE and Web services, and he is now heavily involved with asset-based and model-driven development.

Summary:  This tutorial, Part 4 of a series, will discuss how to move a design forward from UML into WSDL and Java -- artifacts that you can run and test. A key feature of Rational Software Architect that you’ll use in this tutorial is the ability to automate the transformation between models. You'll discuss this feature, and show how this approach can assist you as you look to move past design and into the implementation of a solution.

View more content in this series

Date:  02 Jan 2007
Level:  Intermediate PDF:  A4 and Letter (2553 KB | 36 pages)Get Adobe® Reader®

Activity:  15784 views
Comments:  

Before you start

Learn what to expect from this tutorial, and how to get the most out of it.

About this series

To reap the benefits of Service-Oriented Architecture (SOA) and Model-Driven Development (MDD), your design and development environment needs to have the following characteristics:

  • Best practices: people should be able to reuse proven solutions to recurring problems, and also provide solutions for others to reuse.
  • Role-based: tools should be targeted to the task at hand, and to the role performing that task (for example, Business Analyst or IT Architect).
  • Process Support and Guidance: there should be contextual method or process guidance.
  • Extensible Platform: teams should be able to extend or customize the environment so that it fits their needs.
  • Automations: the framework's underlying meta-model and mappings should allow for the semi-automatic transformation of models, from higher to lower levels of abstractions, and eventually to executable code. Also, it should be possible to trace back from lower to higher levels of abstractions.

The above-listed are all characteristics of IBM’s Rational Software Delivery Platform (SDP), and more specifically IBM® Rational® Software Architect. In this series of tutorials, you will learn how to leverage the platform and its capabilities to design SOA solutions.

This tutorial describes a Top-Down Model-Driven Development approach to modeling services using Rational Software Architect. It shows how service models can be represented at different levels of abstraction (Business Process, Unified Modeling Language UML, Web Services Description Language or WSDL, and Java™) and how Rational Software Architect supports the visualization and transformation from one level of abstraction to the other.

You also discuss the use of UML profiles for domain specific languages like Service-Orientation. Key to reaping the benefits of SOA is the reuse of existing assets. This tutorial shows you how to use existing design patterns to address requirements on your services. After going through this series, you should be able to design services in Rational Software Architect, and use the capabilities at your disposal around UML profiles, design patterns, reusable assets, transformation, and Web services.


About this tutorial

In Part 1 of this series, you got familiar with Rational Software Architect and how it integrates with other tools used during the different phases of the SOA lifecycle.

In Part 2, you learned how to use Rational Software Architect, the Unified Modeling Language (UML), and the UML 2 Profile for Software Services to design services.

In Part 3, you learned about reusable software assets and patterns, and observed how design patterns can be used to address requirements. The tutorial continued by showing how you can link design decisions to requirements in a IBM® Rational® RequisitePro® project (traceability). Part 3 concluded by showing you how to publish reports of your service design.

This tutorial, Part 4 of the series, discusses how to move a design forward from UML into WSDL and Java (artifacts that you can run and test). A key feature of Rational Software Architect, one that this tutorial demonstrates, is the ability to automate the transformation between models. You’ll discuss this feature and show how this approach can assist you as you look to move past design and into the implementation of a solution.


Objectives

After completing this tutorial, you should have a better understanding of how you can leverage the transformation and code generation capabilities of Rational Software Architect. In addition to support for UML2 modeling, Rational Software Architect allows you to leverage your model to generate relevant artifacts. In this case, focus on creating WSDL for your modeled services. Once they’re generated, you can use additional wizards and tooling to generate the Java code needed to implement the services. Last, but not least, you can test the service using the IBM® WebSphere® Application Server test environment.


Prerequisites

To get better value out of this tutorial, it is recommended (but not necessary) that you be familiar with:

  • UML, the Unified Modeling Language
  • Rational Software Architect
  • IBM® Rational® Software Modeler
  • RequisitePro, IBM’s Rational brand requirements management product
  • SOA, Service-Oriented Architecture
  • SOAP, Simple Object Access Protocol
  • WSDL, Web Service Definition Language
  • XSD, XML Schema Definition

Refer to the Resources section for useful links on these topics.

1 of 9 | 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=Rational, SOA and web services
ArticleID=185952
TutorialTitle=Design SOA services with Rational Software Architect, Part 4: Generate and test Web services from UML models
publish-date=01022007
author1-email=ackerman@ca.ibm.com
author1-email-cc=
author2-email=bportier@ca.ibm.com
author2-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.