Sep 27th, 2012, 03:01 AM
PayloadValidatingInterceptor http-status 500 issue
I'm using spring-ws-core 2.1.0.RELEASE and the PayloadValidatingInterceptor to validate incoming requests to an xsd.
When the PayloadValidatingInterceptor finds the request is invalid, a soap-fault is returned with http-status 500.
Is the http-status 500 the valid status for a soap-fault? Is there any way to change the http-status to 400? Did the spring-ws-core 2.0.4-RELEASE return this? It looks like the underlying code depends on what soap library is underneath.
The reason I am asking is that apparently .net has a serious issue getting the soap-fault if a http-status 500 is returned.