Home > Store

Understanding IBM SOA Foundation Suite: Learning Visually with Examples

Register your product to gain access to bonus material or receive a coupon.

Understanding IBM SOA Foundation Suite: Learning Visually with Examples


  • Sorry, this book is no longer in print.
Not for Sale


  • Copyright 2010
  • Edition: 1st
  • Book
  • ISBN-10: 0-13-815040-0
  • ISBN-13: 978-0-13-815040-2

Understanding IBM SOA Foundation Suite

Learning Visually with Examples

Master the IBM SOA Foundation Through 26 Hands-On, Start-to-Finish Tutorials

The IBM SOA Foundation Suite is an integrated, open-standards-based set of software, best practices, and patterns that help you systematically maximize the business value of SOA. Understanding IBM SOA Foundation Suite brings together 26 hands-on tutorials that will help you master IBM SOA Foundation and apply it successfully in your organization. Four of IBM’s SOA practitioners identify core IBM SOA Foundation components and usage scenarios, and walk you step-by-step through implementing them in real-world environments. This book’s self-contained tutorials are presented both in print and through video on the accompanying CD-ROM, showing you the results of every action immediately, whether you’re running the software or not. Using these tutorials, technical professionals can quickly move up the learning curve, discovering how each product works, and how they fit together. You’ll gain the big picture overview you need to make intelligent up-front decisions, and all the hands-on practice you need to prototype working solutions.

Coverage includes

  • Designing services with UML, sharing designs via HTML files, and transforming designs to and from Java with IBM Rational Software Architect
  • Creating services with IBM Rational Application Developer, and deploying them with IBM WebSphere Application Server
  • Implementing effective service governance with IBM WebSphere Service Registry and Repository
  • Integrating existing services into new business processes with IBM WebSphere
  • Integration Developer and IBM WebSphere Process Server
  • Connecting services with IBM WebSphere Message Broker
  • Developing, testing, deploying, and managing portlets with IBM WebSphere Portlet Factory and IBM WebSphere Portal
  • Systematically securing services with IBM Tivoli Federated Identity Manager

Sample Content

Online Sample Chapter

Collaboration with IBM WebSphere Portlet Factory and IBM WebSphere Portal

Sample Pages

Download the sample pages (includes Chapter 7 and Index)

Table of Contents

Preface xix

Acknowledgments xxv

About the Author xxvii

Chapter 1 Introduction 1

IBM SOA Foundation 2

Service Design and Service Creation 2

Service Integration 3

Service Connectivity 5

Service Security and Management 7

Service Registry and Service Governance 9

How This Book Is Organized 10

Chapter 2 Service Design with IBM Rational Software Architect 13

Product Overview 13

What Is UML? 14

What Are UML Models and UML Diagrams? 14

How Does It Support SOA? 15

Tutorial Overview–Design a Time Zone Converter Service 16

Service Specification 17

System Requirements 17

What Is Included in the CD-ROM? 18

Tutorial 2.1–Use a UML Model to Capture a Service Design 18

Tutorial 2.2: Capture the Use Cases for a Service Using a Use Case Diagram 21

Tutorial 2.3: Design the Blueprint for a Service Using a Class Diagram 23

Tutorial 2.4: Detail the Flow of a Service Using a Sequence Diagram 33

Tutorial 2.5: Share the Service Design with Others 38

Tutorial 2.6: Transform the Service Design to Implementation with Round-Trip Engineering 40

Transform UML to Java 41

Transform Java to UML 46

Complete the Implementation 51

Summary 52

Chapter 3 Service Creation with IBM Rational Application Developer and IBM WebSphere Application Server 55

Product Overview 55

How Do They Support SOA? 59

Tutorial Scenario 61

System Requirements 62

What Is Included in the CD-ROM? 62

Tutorial 3.1: Create, Deploy, and Test a Web Service 63

Creating a Web Project 66

Creating a Java Object–DrivingRecord 66

Creating a Web Service Java Class–DrivingRecordWebService 67

Creating a Web Service 68

Examining the WSDL Interface 69

Testing the Web Service 71

Tutorial 3.2: Create a Database Table 73

Create a Database Connection 73

Creating a Data Model 75

Tutorial 3.3: Invoke a Web Service and Persist the Data Using Java Persistence API 80

Creating a JPA Web Project 84

Generating a Web Service Client 86

Creating a Web Application to Invoke the Web Service 87

Running the Web Application in a Browser 91

Creating a JPA Entity 91

Create a Utility Class 95

Set Up the JDBC Configurations in the Persistence XML File 97

Modifying the Web Application 98

Running the Web Application 101

Export the Project as an EAR File 103

Tutorial 3.4: Deploy an Application into a WebSphere Application Server 104

Set Up the Database 104

Start the WebSphere Application Server 104

Start the Integrated Solutions Console 104

Install and Start the DriversWebServiceProjectEAR Enterprise Application 105

Install InsuranceJPAProjectEAR Enterprise Application 107

Changing the Web Service Endpoint 107

Updating the JDBC Datasource 110

Examine the Ports 110

Server Logs 112

Stop the WebSphere Application Server 114

Summary 114

Chapter 4 Service Governance with IBM WebSphere Service Registry and Repository 115

Product Overview 115

The Scenario 115

What Is WebSphere Service Registry and Repository? 116

How Does It Support SOA? 126

Tutorial Overview 127

A Day with WSRR Scenario 127

System Requirements: 128

What Is Included in the CD-ROM? 128

Tutorial 4.1: Set Up the Registry and Repository as an Administrator 129

Set Up the Business Model Templates 130

Load Classification System 133

Tutorial 4.2: Publish a New Service as a Service Developer 135

Import Service Documents 135

Create a Concept 137

Make the Concept Governable 139

Tutorial 4.3: Reuse Services as an Application Developer 141

Find Reusable Services 141

Import Artifacts into Eclipse Workbench 143

Create an Application Concept 147

Tutorial 4.4: Update Existing Services as a Service Developer 148

Impact Analysis 148

Load New Version of the Artifacts 150

Create a New Service Concept 151

Deprecate the Old Service Concept 152

Summary 153

Chapter 5 Service Integration with IBM WebSphere Integration Developer and IBM WebSphere Process Server 155

Product Overview 155

How Do They Support SOA? 159

Tutorial Overview 160

System Requirements 161

What Is Included in the CD-ROM? 161

Tutorial 5.1: Create a Business Process 162

Import Existing Web Services to Workbench 162

Create an Integration Solution with a Library and a Module 162

Copy Interface Files from Existing Web Service 164

Create a Business Object 164

Create a WSDL Interface File for the Business Process 167

Create a Business Process 168

Add a New Variable 169

Add an Assign Node 170

Add an Invoke Node 172

Add a Human Task Activity 174

Add Visual Snippet Logic 176

Add Sticky Notes 180

Tutorial 5.2: Assemble and Execute the Module 181

Assembling in the Assembly Diagram 181

Exploring the Integrated Solution Diagram 183

Deploy the Module Application to the Server 185

Run the Business Process 186

Export the Projects as EAR Files 189

Tutorial 5.3: Deploy to a WebSphere Process Server 189

Start the WebSphere Process Server 189

Start the Integrated Solutions Console 190

Install and Start SupplierService Enterprise Application 190

Install ManufacturerSolution_ModuleApp Enterprise Application 192

Changing Web Service Endpoint 192

Executing the Business Process in the Standalone Server 194

Summary 197

Chapter 6 Service Connectivity with IBM WebSphere Message Broker 199

Product Overview 199

The Difference Between WebSphere MQ and WMB 199

WebSphere Message Broker Basic Key Concepts 201

WebSphere Message Broker Toolkit 201

How Does It Support SOA? 204

Tutorial Overview–Create a Library Book Search Service 207

System Requirements 208

What Is Included in the CD-ROM? 210

Tutorial Setup for the Library Book Search Service 210

Databases Used by the Library Book Search Service 210

WebSphere Message Broker Runtime Artifacts 212

WebSphere MQ Queues for Message Flow 213

Tutorial 6.1: Configure Message Broker Toolkit with Predefined Databases and Runtime Artifacts 215

Configure the Library Database with the WebSphere Message Broker Toolkit 215

Set Up Association for WebSphere Message Broker Runtime Artifacts in Toolkit 219

Tutorial 6.2: Create the Message Flow and Message Set for Library Book Search Service 222

Create Message Definition from Predefined XML Schema 222

Configure Message Flow with WebSphere MQ Queue 225

Configure Parse Options for Input Message 227

Creating ESQL for Library Book Search Query 227

Define the Logic of Message Flow 230

Create Mappings for SearchResponse Message 232

Tutorial 6.3: Deploy and Test Library Book Search Service 237

Establish Connection with Broker Runtime 237

Initialize the Test Client 237

Testing with Test Client 238

Summary 241

Chapter 7 Collaboration with IBM WebSphere Portlet Factory and IBM WebSphere Portal 243

Product Overview 243

What Is a Portal? 243

IBM WebSphere Portlet Factory 244

IBM WebSphere Portal 245

How Do They Support SOA? 247

Tutorial Overview 247

End-to-End on Developing, Testing, and Deploying of a Portlet 247

System Requirements 250

What Is Included in the CD-ROM? 250

Tutorial Setup 250

WebSphere Portlet Factory–Create a Deployment Configuration 250

DB2–Create a Database and a Table 253

WebSphere Application Server–Create a Datasource 259

Tutorial 7.1: Create and Test a Simple Portlet 266

Step 1: Create a Project in IBM WebSphere Portlet Factory 266

Step 2: Create and Test a Simple Portlet 266

Tutorial 7.2: Create and Test a Portlet That Accesses a Database 277

Step 1: Create a Service Provider Model 277

Step 2: Create a Service Consumer Model 280

Tutorial 7.3: Deploy a Portlet 284

Step 1: Install a Portlet in IBM WebSphere Portal 285

Step 2: Add a Portlet to a WebSphere Portal Page 288

Step 3: Access a Portlet as a New User 292

Step 4: Set Access Permissions for a Portlet 293

Summary 295

Chapter 8 Service Security with IBM Tivoli Federated Identity Manager 297

Product Overview 297

What Are WS-Security and WS-Trust? 298

What Are Security Token Service (STS) and Web Services

Security Management (WSSM)? 300

How Does It Support SOA? 302

Tutorial Overview–Enable Security for a Calculator Service Provider and a Service Requester 304

System Requirements 305

What Is Included in the CD-ROM? 306

Tutorial 8.1: Enable Security for a Service Provider 307

Tutorial 8.1.1: Configure a Service Provider to Use WSSM for Token Consumption Using RAD 308

Tutorial 8.1.2: Configure the STS Module Chain to Be Invoked by the WSSM Token Consumer Using TFIM 315

Tutorial 8.1.3: Deploy the Service Provider to WAS 321

Tutorial 8.2: Enable Security for a Service Requester 323

Tutorial 8.2.1: Configure a Service Requester to Use WSSM for Token Generation Using RAD 325

Tutorial 8.2.2: Configure the STS Module Chain to Be Invoked by the WSSM Token Generator Using TFIM 331

Tutorial 8.2.3: Deploy the Service Requester to WAS 336

Tutorial 8.3: Test the Service 339

Summary 340

Conclusion 342


Submit Errata

More Information

InformIT Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from InformIT and its family of brands. I can unsubscribe at any time.


Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about products and services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. Please note that other Pearson websites and online products and services have their own separate privacy policies.

Collection and Use of Information

To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including:

Questions and Inquiries

For inquiries and questions, we collect the inquiry or question, together with name, contact details (email address, phone number and mailing address) and any other additional information voluntarily submitted to us through a Contact Us form or an email. We use this information to address the inquiry and respond to the question.

Online Store

For orders and purchases placed through our online store on this site, we collect order details, name, institution name and address (if applicable), email address, phone number, shipping and billing addresses, credit/debit card information, shipping options and any instructions. We use this information to complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, and for related purposes.


Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions and uses the information to evaluate, support, maintain and improve products, services or sites, develop new products and services, conduct educational research and for other purposes specified in the survey.

Contests and Drawings

Occasionally, we may sponsor a contest or drawing. Participation is optional. Pearson collects name, contact information and other information specified on the entry form for the contest or drawing to conduct the contest or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize and for tax reporting purposes, as required by law.


If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simply email information@informit.com.

Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an email. Generally, users may not opt-out of these communications, though they can deactivate their account information. However, these communications are not promotional in nature.

Customer Service

We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through our Contact Us form.

Other Collection and Use of Information

Application and System Logs

Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected to this site, such as browser type, type of computer/device, operating system, internet service provider and IP address. We use this information for support purposes and to monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents and appropriately scale computing resources.

Web Analytics

Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site. While these analytical services collect and report information on an anonymous basis, they may use cookies to gather web trend information. The information gathered may enable Pearson (but not the third party web trend services) to link information with application and system log data. Pearson uses this information for system administration and to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents, appropriately scale computing resources and otherwise support and deliver this site and its services.

Cookies and Related Technologies

This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising. Users can manage and block the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

Do Not Track

This site currently does not respond to Do Not Track signals.


Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure.


This site is not directed to children under the age of 13.


Pearson may send or direct marketing communications to users, provided that

  • Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising.
  • Such marketing is consistent with applicable law and Pearson's legal obligations.
  • Pearson will not knowingly direct or send marketing communications to an individual who has expressed a preference not to receive marketing.
  • Where required by applicable law, express or implied consent to marketing exists and has not been withdrawn.

Pearson may provide personal information to a third party service provider on a restricted basis to provide marketing solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

Correcting/Updating Personal Information

If a user's personally identifiable information changes (such as your postal address or email address), we provide a way to correct or update that user's personal data provided to us. This can be done on the Account page. If a user no longer desires our service and desires to delete his or her account, please contact us at customer-service@informit.com and we will process the deletion of a user's account.


Users can always make an informed choice as to whether they should proceed with certain services offered by InformIT. If you choose to remove yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive: www.informit.com/u.aspx.

Sale of Personal Information

Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information to NevadaDesignatedRequest@pearson.com.

Supplemental Privacy Statement for California Residents

California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice. The Supplemental privacy statement for California residents explains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services.

Sharing and Disclosure

Pearson may disclose personal information, as follows:

  • As required by law.
  • With the consent of the individual (or their parent, if the individual is a minor)
  • In response to a subpoena, court order or legal process, to the extent permitted or required by law
  • To protect the security and safety of individuals, data, assets and systems, consistent with applicable law
  • In connection the sale, joint venture or other transfer of some or all of its company or assets, subject to the provisions of this Privacy Notice
  • To investigate or address actual or suspected fraud or other illegal activities
  • To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract
  • To affiliated Pearson companies and other companies and organizations who perform work for Pearson and are obligated to protect the privacy of personal information consistent with this Privacy Notice
  • To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.


This web site contains links to other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information. This privacy statement applies solely to information collected by this web site.

Requests and Contact

Please contact us about this Privacy Notice or if you have any requests or questions relating to the privacy of your personal information.

Changes to this Privacy Notice

We may revise this Privacy Notice through an updated posting. We will identify the effective date of the revision in the posting. Often, updates are made to provide greater clarity or to comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance. Please contact us if you have questions or concerns about the Privacy Notice or any objection to any revisions.

Last Update: November 17, 2020