SoapUI consuming a Web Services via JBoss ESB
ilasa01 Nov 15, 2008 1:47 PMHi,
I am using SoapUI software for my Web Services tests. Invoking and consuming a Web Service works well. I am trying to perform the same task via the Jboss ESB, using the quickstart sample "webservice_consumer1". The sample shows an action name "Request Mapper". An other action name "soap-client-action" and a third action "Response Mapper". I believe I have missed how to call the deployed esb program and the SOAP Response Message Consumption. The ESB deployment works and there are no errors.
Of course, I don't need messages back in the console but back to my client.
How can I call my Web Service via the ESB in a correct way?
My jboss-esb.xml (Note: I have removed the tag (<>) as, when attached, it interfers and delete some lines).
?xml version = "1.0" encoding = "UTF-8"?
jbossesb
 xmlns="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml/jbossesb-1.0.1.xsd"
 parameterReloadSecs="5"
 providers
 <!-- External entry point for client request -->
jbr-provider host="10.10.10.1" name="esbserver" protocol="http"
jbr-bus busid="quickstart_rokeby_im_consumer_esb" port="8089" /
/jbr-provider
 jms-provider name="JBossMQ"
 connection-factory="ConnectionFactory"
 jms-bus busid="quickstartGwChannel"
 jms-message-filter
 dest-type="QUEUE"
 dest-name="queue/quickstart_rokeby_im_consumer_Request_gw"
 /
 /jms-bus
 jms-bus busid="quickstartEsbChannel"
 jms-message-filter dest-type="QUEUE"
 dest-name="queue/quickstart_rokeby_im_consumer_esb" /
 /jms-bus
 /jms-provider
 /providers
 services
 service category="MyServiceCategory name="rokeby_im_consumer"
 description="Webservice Consumer"
 listeners
 jms-listener name="JMS-ESBListener"
 busidref="quickstartEsbChannel"/
 jms-listener name="JMS-Gateway"
 busidref="quickstartGwChannel"
 is-gateway="true"
 /
 /listeners
 actions mep="OneWay"
 action name="soapui-client-action"
 class="org.jboss.soa.esb.actions.soap.SOAPClient"
 property name="wsdl"
 value="http://10.10.10.3:8080/idm/S6/rokeby?wsdl" /
 property name="SOAPAction" value="urn:#CreateUserSoap"/
 property name="operation" value="CreateUser" /
 /action
 /actions
 /service
 /services
/jbossesb
Thank you.
Salvo