Problem with WS invocation
vishal12345 Feb 6, 2009 2:51 PMI have configured the Hello world tutorial to pass the message to the webservice and get a response to another action , but i am getting following error
properties: [ {org.jboss.soa.esb.message.time.dod=Sat Feb 07 01:08:09 IST 2009, org.jboss.soa.esb.message.time.dob=Deferred serialized value: 1d9c4c4, org.jboss.soa.esb.message.source=Deferred serialized value: 53345, org.jboss.soa.esb.message.transport.type=Deferred serialized value: 169369f, javax.jms.message.redelivered=false, org.jboss.soa.esb.gateway.original.queue.name=Deferred serialized value: 811e2b} ] ] 01:08:09,765 INFO [STDOUT] Progress: 1 - Caching definition from url [http://localhost:8084//CalculatorWSApplication//NewWebService?wsdl] 01:08:09,796 ERROR [WsdlContext] Loading of definition failed for [http://localhost:8084//CalculatorWSApplication//NewWebService?wsdl]; org.apache.commons.httpclient.HttpException: Received status code '404' on WSDL HTTP (GET) request: 'http://localhost:8084//CalculatorWSApplication//NewWebService?wsdl'. 01:08:09,796 ERROR [STDERR] org.apache.commons.httpclient.HttpException: Received status code '404' on WSDL HTTP (GET) request: 'http://localhost:8084//CalculatorWSApplication//NewWebService?wsdl'. 01:08:09,796 ERROR [STDERR] at org.jboss.soa.esb.services.soapui.EsbWsdlLoader.load(EsbWsdlLoader.java:69) 01:08:09,796 ERROR [STDERR] at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlLoader.loadXmlObject(WsdlLoader.java:62) 01:08:09,796 ERROR [STDERR] at com.eviware.soapui.impl.wsdl.support.xsd.SchemaUtils.getDefinitionParts(SchemaUtils.java:412) 01:08:09,796 ERROR [STDERR] at com.eviware.soapui.impl.wsdl.support.xsd.SchemaUtils.getDefinitionParts(SchemaUtils.java:403) 01:08:09,796 ERROR [STDERR] at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlLoader.cacheWsdl(WsdlLoader.java:116) 01:08:09,796 ERROR [STDERR] at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlContext$Loader.construct(WsdlContext.java:200) 01:08:09,796 ERROR [STDERR] at com.eviware.soapui.support.swing.SwingWorkerDelegator.construct(SwingWorkerDelegator.java:45) 01:08:09,796 ERROR [STDERR] at com.eviware.soapui.support.swing.SwingWorker$2.run(SwingWorker.java:111)
My web service is JAX-WS service on tomcat running on port 8084
the jbossesb.xml contains following code
<?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> <jms-provider name="JBossMQ" connection-factory="ConnectionFactory"> <jms-bus busid="quickstartGwChannel"> <jms-message-filter dest-type="QUEUE" dest-name="queue/quickstart_helloworld_Request_gw" /> </jms-bus> <jms-bus busid="quickstartEsbChannel"> <jms-message-filter dest-type="QUEUE" dest-name="queue/quickstart_helloworld_Request_esb" /> </jms-bus> </jms-provider> </providers> <services> <service category="FirstServiceESB" name="SimpleListener" description="Hello World"> <listeners> <jms-listener name="JMS-Gateway" busidref="quickstartGwChannel" maxThreads="1" is-gateway="true" /> <jms-listener name="helloWorld" busidref="quickstartEsbChannel" maxThreads="1" /> </listeners> <actions mep="OneWay"> <action name="action1" class="org.jboss.soa.esb.samples.quickstart.helloworld.MyJMSListenerAction" process="displayMessage" /> <action name="action2" class="org.jboss.soa.esb.actions.SystemPrintln"> <property name="printfull" value="true"/> </action> <!-- The next action is for Continuous Integration testing --> <action name="testStore" class="org.jboss.soa.esb.actions.TestMessageStore"/> <action name="soapui-client-action" class="org.jboss.soa.esb.actions.soap.SOAPClient"> <property name="wsdl" value="http://localhost:8084//CalculatorWSApplication//NewWebService?wsdl" /> <property name="responseAsOgnlMap" value="true" /> <property name="SOAPAction" value="sayHello"/> </action> <action name="response-mapper" class="org.jboss.soa.esb.samples.quickstart.helloworld.ResponseAction"> </action> </actions> </service> </services> </jbossesb>