-
1. Re: SOAPFault with HTTP 200 response code
mageshbk May 28, 2013 9:33 AM (in response to jbride)Hi Jeff,
Did this work before or are you noticing it for the first time?
regards,
Magesh
-
2. Re: SOAPFault with HTTP 200 response code
jbride May 28, 2013 10:17 AM (in response to mageshbk)Hi Magesh.
the same problem does occur in SY 0.8*
i mention use of the latest master branch because the soap-binding-rpc quickstart (so as to demonstrate the problem) is only available in the master branch.
thank you! jeff
-
3. Re: SOAPFault with HTTP 200 response code
mageshbk May 28, 2013 10:42 AM (in response to jbride)Thansk Jeff! I will have a look at this first thing in my morning.
-
4. Re: SOAPFault with HTTP 200 response code
mageshbk May 29, 2013 9:46 PM (in response to mageshbk)Hi Jeff,
Sorry, I got caught up in my other task. I first thought I could not simulate this issue. Then I realized this happens only in CXF in AS7 server. The satandalone JDK returns correct response code. I will chase it up with the WS team and let you know.
regards,
Magesh
-
5. Re: SOAPFault with HTTP 200 response code
mageshbk May 30, 2013 1:19 AM (in response to jbride)Okay, in our SOAP gateway when it creates Fault, CXF thinks that these are not Exceptions and just pass the response as 200. Now should the stack detect the SOAPFault and send a 500 status code or not, is a debate for another day. We have now the facility to update status code as needed and we should be setting 500 for SOAPFaults, irrespective of the stack used. I will set this as part of my MTOM fix that I am working right now.
The Doc/lit case worked because, fortunately CXF has an Interceptor for such cases, where it checks the validity of the request.
-
6. Re: SOAPFault with HTTP 200 response code
jbride May 30, 2013 12:01 PM (in response to mageshbk)excellent. thank you Magesh
-
7. Re: SOAPFault with HTTP 200 response code
jbride Jun 26, 2013 3:42 PM (in response to mageshbk)thanks Magesh. just confirmed this has been fixed in the master branch.