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:
To start, download a copy of SOAPUI (http://www.soapui.org—the free open source edition is all that is needed).
Run the
soapui
startup script (soapui.sh
orsoapui.bat
, depending on our OS).Next, we need to find the jUDDI services WSDL. Copy
uddi-ws-3.1.0.jar
fromjboss-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 theuddi_v3_service.wsdl
file from the JAR you just uncompressed as the initial WSDL: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...