axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michele Mazzucco <Michele.Mazzu...@ncl.ac.uk>
Subject Re: Transport Out Error
Date Tue, 01 Apr 2008 16:09:13 GMT
Aneel,

you're probably missing this instruction:

options.setTransportInProtocol(Constants.TRANSPORT_HTTP);

Michele


On 1 Apr 2008, at 16:48, <Aneel.Murari@gxs.com> wrote:
> Hi,
>
> I am using Axis2 v 1.3 as a web service client. I am getting the  
> following error. I have searched the archives and found some other  
> people had this issue and it was due to missing dependent jars from  
> classpath especially, commons-httpclient.jar. But, I verified that  
> I have commons-httpclient-3.0.1.jar in my classpath.
>
> Axis fault:"
> org.apache.axis2.AxisFault: Transport out has not been set
>         at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java: 
> 383)
>         at  
> org.apache.axis2.description.OutInAxisOperationClient.send 
> (OutInAxisOperation.java:374)
>         at  
> org.apache.axis2.description.OutInAxisOperationClient.executeImpl 
> (OutInAxisOperation.java:211)
>         at org.apache.axis2.client.OperationClient.execute 
> (OperationClient.java:163)
>
> I looked at the line where the above error is being thrown from  
> Axis2. It seems like it is thrown when  
> messageContext.getTransportOut() returns a null object. I have  
> enabled debug logging for axis2 and it is showing that the Axis  
> client I am using is getting the configuration from  
> axis2_default.xml in axis2-kernal.jar. And, the default  
> configuration file has the HTTP and HTTPS transport Outs set. The  
> log files even show that this information is getting parsed.
>
> Most importantly, the EAR deployment which packages my client as  
> MDB, works fine in development…but won’t work in QA. This leads me  
> to believe there is a configuration issue. But, I cannot narrow  
> down the issue. All the dependent jars are packaged as part of the  
> EAR in APP-INF/lib/.
>
> I will appreciate any help or ideas to resolve this issue.
>
> Thanks,
> Aneel
>


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


Mime
View raw message