Book Image

JBoss ESB Beginner's Guide

By : Len DiMaggio, Kevin Conner, Magesh Kumar B, Tom Cunningham
Book Image

JBoss ESB Beginner's Guide

By: Len DiMaggio, Kevin Conner, Magesh Kumar B, Tom Cunningham

Overview of this book

<p>You may often have wondered if there is a better way to integrate disparate applications than error-prone "glue code". JBoss ESB is just that solution as it can help solve common but difficult problems: writing new code that can be re-used and maintained, and integrating together new and old systems. JBoss ESB takes care of routing and processing service requests, leaving you to concentrate on your system's design and development.</p> <p>The JBoss ESB Beginner’s Guide gets you up and running quickly with JBoss ESB to build your own service-based applications, with enhanced communication and organization. You will learn how to create new applications or to integrate combinations of new and legacy applications. Detailed examples get you creating your own services, and deploying and administering them with other JBoss Open Source tools.</p> <p>Through hands-on examples, this book shows you how JBoss ESB enables you to design your system as services that are loosely coupled together by sending and receiving messages. Your services can execute your own custom code, or make use of JBoss ESB’s extensive set of out-of-the-box actions to perform specific tasks. The JBoss ESB Beginner’s Guide shows you the tools you can use to build re-usable and maintainable service-based applications with JBoss ESB, and teaches you by example how to use these tools.</p>
Table of Contents (18 chapters)
JBoss ESB
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Prologue—the need for an ESB
Preface
Index

Time for action – querying the UDDI server


To get a sense of UDDI, let's try sending some UDDI queries to JBoss ESB. For this exercise, you'll need to use JBoss ESB 4.10 on top of the JBoss 5.1.0.GA AS. There are instructions on setting up this scenario in Chapter 1. After setting that up, follow these steps:

  1. To start, download a copy of SOAPUI (http://www.soapui.org—the free open source edition is all that is needed).

  2. Run the soapui startup script (soapui.sh or soapui.bat, depending on our OS).

  3. Next, we need to find the jUDDI services WSDL. Copy uddi-ws-3.1.0.jar from jboss-5.1.0.GA/server/default/deployers/esb.deployer/lib/ to a temporary location. Uncompress the file and create a new SOAPUI project (File | New SOAPUI Project in the SOAPUI menu) using the uddi_v3_service.wsdl file from the JAR you just uncompressed as the initial WSDL:

  4. We'll try a simple query—scroll down to UDDI_Security_SoapBinding, and choose get_AuthToken. Double-click on the Request 1 request to open it in the editor...