Re: Axis response ends in 0???

"robertlazarski ." <[email protected]>
Newsgroups gmane.text.xml.axis.user
Message-ID <CABpPLBVgyG8qfxiihny=EpAnofh1XcwZOr8hsEXz1Bw+0Uy3UA@mail.gmail.com>
On Wed, Apr 2, 2014 at 10:08 PM, Chris Hyzer <[email protected]> wrote:
> I"m using Axis 2 1.6.1, we made beans, did java2wsdl, and axis handles
> everything for us.
>
> We had an error report that occasionally clients are failing because an
> extra 0 is sent after the response.
>
<snip>
> </soapenv:Envelope>
> 0

On the client side you can disable chunking, ie the 0 indicates the
size of the next chunk
(0) meaning the message is finished. You would then be using
content-length instead, IIRC.

         Options option = client.getOptions();
         option.setProperty(HTTPConstants.CHUNKED,false);
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.