Also you will want to check transport attribute in your for wsdl <binding transport=

to quote the doc:
The value of the required transport attribute indicates which transport of SOAP this binding corresponds to. The URI value "http://schemas.xmlsoap.org/soap/http " corresponds to the HTTP binding in the SOAP specification. Other URIs may be used here to indicate other transports (such as SMTP, FTP, etc.).

HTH
Martin--
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed.  If you have received this email message in error, please notify
the sender immediately by telephone or email and destroy the original
message without making a copy.  Thank you.

----- Original Message ----- From: "Deepal Jayasinghe" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Wednesday, June 13, 2007 2:05 PM
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(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]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to