|
From: Hans B. <ben...@ch...> - 2003-04-07 11:55:21
|
Hi, I have just started experimenting with the SoapWriterPipelineStage. I wanted to find out, what happens to the Messages when something goes wrong. To my surprise I found, that I do not get any Exceptions when there are HTTP Errors like 404 (e.g. due to misspelled URL) or 500 (e.g. due to calling the wrong SOAP function: [from the SOAP response: ...] <env:Fault><faultcode>env:Server</faultcode><faultstring>Internal Server Error (unrecognized operation: nitf)</faultstring></env:Fault> [...]). Is this the normal behaviour? Btw: I *do* get an Exception when the connection is completely refused: Error: com.babeldoc.core.pipeline.PipelineException: Error sending soap message: Error opening socket: java.net.ConnectException: Connection refused So to me it looks like org.apache.soap.messaging.Message does not throw an Exception where I am expecting it - am I missing something? Regards, Hans |