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]>
It worked when I set the value to false

options.setProperty(HTTPConstants.CHUNKED, Constants.VALUE_FALSE);


MG - I am not using axis2 war. have embedded axis2 within our application.






On Wednesday, December 11, 2013 1:39:40 PM, Martin Gainty <[email protected]> wrote:
 
  

> Date: Wed, 11 Dec 2013 17:31:03 -0200
> Subject: Re: [Axis2] - intermittent error "The input stream for an incoming message is null."
> From: [email protected]
> To: [email protected]; [email protected]
> 
> On Wed, Dec 11, 2013 at 3:48 PM, Amit Lonkar <[email protected]> wrote:
> > Was anyone able to reproduce this on local ? Is it a bug or something wrong
> > in the client that I have?
> >
> 
> I found this doing some quick googling:
> 
> http://stackoverflow.com/questions/14440582/axis2-fault-the-input-stream-for-an-incoming-message-is-null
> 
> "try the following code : value set to true...
> 
> Options options = serviceClient.getOptions();
> options.setProperty(HTTPConstants.CHUNKED, Constants.VALUE_TRUE);
> serviceClient.setOptions(options);
> "
> 
> -R
>
MG>If you're doing chunked encoding make sure you're running axis2.war on  HTTP-1.1 Connector..
MG>-M
> ---------------------------------------------------------------------
> 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.