I checked again, I have all the jar files from ActiveMQ and Axis2 in my classpath.
Thanks Kamal -----Original Message----- From: Deepal Jayasinghe [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 13, 2007 2:05 PM To: [email protected] Subject: Re: Transport out has not been set May be you have not added dependent jars which JMS required to the classpath. Thanks Deepal Kang, Kamaljeet K. wrote: > > Hi, > > > > I am trying to test axis2 with JMS transport. I followed the > instructions as per 'jms-transport.html'. The server initializes fine > and I see the JMS queue gets created on the JMS broker but when I try > to call a method on stub I get the following exception. > > > > org.apache.axis2.AxisFault: Transport out has not been set > > at > org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:507) > > at > org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOper ation.java:309) > > at > org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisO peration.java:273) > > at org.hello.HelloStub.Hello(HelloStub.java:173) > > at org.hello.HelloStub.main(HelloStub.java:462) > > > > String url = > "jms:/Hello?transport.jms.ConnectionFactoryJNDIName=QueueConnectionFacto ry&java.naming.factory.initial=org.apache.activemq.jndi.ActiveMQInitialC ontextFactory&java.naming.provider.url=tcp://localhost:61616"; > > > HelloStub hStub = new HelloStub(url); > > HelloResponse hRes = hStub.Hello("Test"); > > System.out.println("Response is " + > hRes.getStringout()); > > > > Can someone please help me with this? > > > > > > Thanks > > > > Kamal > > ============================================================ > The information contained in this message may be privileged > and confidential and protected from disclosure. If the reader > of this message is not the intended recipient, or an employee > or agent responsible for delivering this message to the > intended recipient, you are hereby notified that any reproduction, > dissemination or distribution of this communication is strictly > prohibited. If you have received this communication in error, > please notify us immediately by replying to the message and > deleting it from your computer. Thank you. Tellabs > ============================================================ > -- Thanks, Deepal ................................................................ "The highest tower is built one brick at a time" --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ============================================================ The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any reproduction, dissemination or distribution of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank you. Tellabs ============================================================ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
