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(OutInAxisOperation.java:309)
>
>             at
> org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.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=QueueConnectionFactory&java.naming.factory.initial=org.apache.activemq.jndi.ActiveMQInitialContextFactory&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]

Reply via email to