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 <mgai...@hotmail.com> 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: robertlazar...@gmail.com > To: java-user@axis.apache.org; amitlon...@yahoo.com > > On Wed, Dec 11, 2013 at 3:48 PM, Amit Lonkar <amitlon...@yahoo.com> 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: java-user-unsubscr...@axis.apache.org > For additional commands, e-mail: java-user-h...@axis.apache.org >