You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by "Kang, Kamaljeet K." <Ka...@tellabs.com> on 2007/06/13 20:02:46 UTC

Transport out has not been set

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
============================================================

RE: Transport out has not been set

Posted by "Kang, Kamaljeet K." <Ka...@tellabs.com>.
I checked again, I have all the jar files from ActiveMQ and Axis2 in my
classpath.

Thanks

Kamal

-----Original Message-----
From: Deepal Jayasinghe [mailto:deepal@opensource.lk] 
Sent: Wednesday, June 13, 2007 2:05 PM
To: axis-user@ws.apache.org
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: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
============================================================
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: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Re: Transport out has not been set

Posted by Martin Gainty <mg...@hotmail.com>.
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" <de...@opensource.lk>
To: <ax...@ws.apache.org>
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: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Re: Transport out has not been set

Posted by Deepal Jayasinghe <de...@opensource.lk>.
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: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org