Paul Clapham wrote:You don't say what kind of ideas you're looking for. Personally, I wouldn't be surprised that if the host threw an exception in the middle of producing an XML document, that you would then receive the part of the XML document that it had already sent your way.
But basically that's irrelevant. If the client doesn't get an OK response from the web service, then it shouldn't be attempting to process the output anyway. And if you are notified that there was an error on the server, it would be polite to notify the owners of the server that errors are happening there.
The server should return a 500 status code - I believe that's the correct behavior. But, the XML returned should be valid. I think axis2 is blowing up internally while assembling the response. The client needs to be able to parse the response to see what the cause of the error was.
Thanks.