Re: [Axis2] - intermittent error "The input stream for an incoming message is null."

Chamila Wijayarathna <[email protected]>
Newsgroups gmane.text.xml.axis.user
Message-ID <CAAGV2DiGgGENP+Jzb7-KREdw3zb0sLnDSWHderDm2JMO2yCydA@mail.gmail.com>
Did you tried capturing packets send from client to service using tcpmon?
On Dec 10, 2013 10:16 PM, "Amit Lonkar" <[email protected]> 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: [email protected]
> For additional commands, e-mail: [email protected]
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.