axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chamila Wijayarathna <cdwijayarat...@gmail.com>
Subject Re: [Axis2] - intermittent error "The input stream for an incoming message is null."
Date Tue, 10 Dec 2013 16:58:14 GMT
Did you tried capturing packets send from client to service using tcpmon?
On Dec 10, 2013 10:16 PM, "Amit Lonkar" <amitlonkar@yahoo.com> wrote:

> Hi
>
> I have a very simple web service which just return a String. Calling the
> webservice in a loop throws the exception below.
>
> Attached
> - TestAxis2Service.java
> - services.xml
> - TestAxis2ServiceClient.java
> - TestAxis2Service.wsdl
>
> Exception in thread "main" org.apache.axis2.AxisFault: The input stream
> for an incoming message is null.
> at
> org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:92)
> at
> org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:67)
> at
> org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:354)
> at
> org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:421)
> at
> org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
> at
> org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
> at
> org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:555)
> at
> org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:531)
> at
> org.apache.axis2.rpc.client.RPCServiceClient.invokeBlocking(RPCServiceClient.java:102)
> at TestAxis2ServiceClient.callWebservice(TestAxis2ServiceClient.java:52)
> at TestAxis2ServiceClient.main(TestAxis2ServiceClient.java:29)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:601)
> at com.intellij.rt.execution.application.AppMain.main(AppMain.java:120)
>
> Your help with this is appreciated.
>
> Thanks
> Amit
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-user-help@axis.apache.org
>

Mime
View raw message