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

Amit Lonkar <[email protected]>
Newsgroups gmane.text.xml.axis.user
Message-ID <[email protected]>
Was anyone able to reproduce this on local ? Is it a bug or something wrong in the client that I have?
 



On Tuesday, December 10, 2013 10:16:03 AM, Amit Lonkar <[email protected]> wrote:
 
Please find attached tcpmon output. Please see last response says connection "closed".



On Tuesday, December 10, 2013 9:58:45 AM, Chamila Wijayarathna <[email protected]> wrote:
 
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]
>




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