Thomas,

could it be a timeout problem?

Michele


On 15 Jan 2007, at 15:16, Morgante Thomas wrote:

I’ve generated my stub with databinding set to none. When I get a response of Content-Length: 4360, I get the following exception:



org.apache.axiom.om.OMException: java.lang.RuntimeException: [was class java.io.IOException] Attempted read on closed stream.



From what I can understand from the debug log the building of the OMElements goes all right for what seems the first chunk of data but as soon as it starts with the second chunk it throws the exception.





Invoking the same stub method with a smaller response it works fine. So I think the problem is related to the size of the response.



Is there a maximum size of the xml that axiom can deal with?

Can anybody please help?

Best regards

Thomas



--------------------------------------------------------------------
CONFIDENTIALITY NOTICE
This message and its attachments are addressed solely to the persons
above and may contain confidential information. If you have received
the message in error, be informed that any use of the content hereof
is prohibited. Please return it immediately to the sender and delete
the message. Should you have any questions, please contact us by
replying to [EMAIL PROTECTED]
        Thank you
                                        www.telecomitalia.it
--------------------------------------------------------------------


Reply via email to