Thanks for the reply Brennan. I believe I have everything configured as
per the link below, but I keep timing out while "waiting for the server
to send the response".
I am seeing this in my ActiveMQ console: myservice - No subscriptions
registered, will not dispatch message at this time.
"myservice" is the destination I am dynamically adding in my client code
and that matches with the destination in my services.xml.
Here is my services.xml:
<service name="service">
<description>
My Web Service
</description>
<transports>
<transport>jms</transport>
</transports>
<parameter name="ServiceClass"
locked="false">com.test.soap.lds.service.DataServiceWebService</paramete
r>
<parameter name="allowedMethods"
locked="false">executeDataservice</parameter>
<parameter name="transport.jms.ConnectionFactory"
locked="true">QueueConnectionFactory</parameter>
<parameter name="transport.jms.Destination"
locked="true">myservice</parameter>
<messageReceivers>
<messageReceiver mep="http://www.w3.org/2004/08/wsdl/in-only"
class="org.apache.axis2.rpc.receivers.RPCInOnlyMessageReceiver"/>
<messageReceiver mep="http://www.w3.org/2004/08/wsdl/in-out"
class="org.apache.axis2.rpc.receivers.RPCMessageReceiver"/>
</messageReceivers>
</service>
Thanks for your help,
Ted
________________________________
From: Brennan Spies [mailto:[EMAIL PROTECTED]
Sent: Friday, December 29, 2006 10:19 PM
To: [email protected]
Subject: RE: Soap Over JMS using Embedded Axis2 Engine
Ted,
Did you uncomment/configure the appropriate entries in your axis2.xml as
well as your .aar's service.xml?
http://ws.apache.org/axis2/1_1/jms-transport.html
________________________________
From: Ted Jones [mailto:[EMAIL PROTECTED]
Sent: Friday, December 29, 2006 3:36 PM
To: [email protected]
Subject: Soap Over JMS using Embedded Axis2 Engine
I am attempting to execute a web service via ActiveMQ. The web service
is deployed to an Axis2 engine that is embedded in a web app running on
Tomcat 5.5. Are there any known *gotchas* here? I cannot seem to
communicate with the service via JMS as it keeps timing out. When I
change my endpoint in the client call from the JMS endpoint to the web
service endpoint, it finds it.
Thanks,
Ted