Invoke an Web Service from Websphere Message Broker

Step 1: Create your Java Bean that runs on Websphere Application Server.

Step 2: Create a Web Service for the Bean using the bottom-up or top-down approach in Rational Application Developer.

Step 3: Create the business flow in Websphere Message Broker.

Step 4: Testing your Web Service Flow Putting a Test Message on your Input Queue (QInput)

Input SOAP Message:

<soapenv:Envelope xmlns:soapenv=”http://schemas.xmlsoap.org/soap/envelope/&#8221; xmlns:cloc=”http://clock.ejb3.ibm.com”><soapenv:Header/><soapenv:Body><cloc:getClockInfo><format>short</format></cloc:getClockInfo></soapenv:Body></soapenv:Envelope&gt;

Step 5: Check output Queue (Q.Output) for the Web Service Result

HTTP/1.1 200 OKContent-Type: text/xml; charset=utf-8Content-Language: en-ZAContent-Length: 457Date: Mon, 17 May 2010 19:03:02 GMTServer: WebSphere Application Server/7.0

<SOAP_Domain_Msg xmlns:soapenv=”http://schemas.xmlsoap.org/soap/envelope/&#8221; xmlns:soapenc=”http://schemas.xmlsoap.org/soap/encoding/&#8221; xmlns:xsd=”http://www.w3.org/2001/XMLSchema&#8221; xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance”><Context operation=”getClockInfo” operationType=”REQUEST_RESPONSE” portType=”Clock” portTypeNamespace=”http://clock.ejb3.ibm.com&#8221; port=”Clock” service=”ClockService” fileName=”C:\Documents and Settings\All Users\Application Data\IBM\MQSI\components\WMBB\1eaf83a7-2801-0000-0080-c0b40e353b3a\config\XSD\Clock/com/ibm/ejb3/clock/Clock.wsdl”><SOAP_Version>1.1</SOAP_Version><Namespace xmlns:soapenv=”http://schemas.xmlsoap.org/soap/envelope/&#8221; xmlns:soapenc=”http://schemas.xmlsoap.org/soap/encoding/&#8221; xmlns:xsd=”http://www.w3.org/2001/XMLSchema&#8221; xmlns:xsi=”http://www.w3.org/2001/XMLSchem

5 Comments

  1. Your site is the best when it comes WebSphere. I’ll tell my friends about this wonderful site you have made. Keep up the good work!

  2. Most of the blogs online are pretty much the same but i think you can add some value. Cheers !

  3. message broker says:

    HI,
    is there any way to remove the SOAP_Domain_Msg from the response?

  4. message broker says:

    HI,
    is there any way to remove the SOAP_Domain_Msg from the response so that the structure is according to the soap standards.KIndly,help me out .

  5. Form, erstellen werden auf jeden Fall erkennen da Klleid Design oder vielleicht Element derr Kleidung zuur Festsetzung bis.

    wir Sie trust, die,I absolut wrklich lieebe Art jeder trend Ralph
    Lauren polo haben die este fashion, Geheimnisse und Hilfe und Beratung mit ESSEN Netzwerk Programmierung.
    Sind Sie in der Lage zueinfach entdecken Asiatischen Bekleidung an recht günstig Preis.

    diese Daten nach sich kann nur die Hinweise auf Entwicklung,
    Aufklärung, als Teil derr folk.

Leave a Comment

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s