You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by PhilippWerner <ph...@gmx.de> on 2016/02/01 14:41:58 UTC
Soap Fault and HTTP Status code (ONVIF)
Hi all,
I am trying to get Events from a camera by using PullpointSubscription.
Normally when i am pulling Messages, using values that are out of range,
cameras respond with a HTTP 500 and a PullmessageFaultResponse.
Until yesterday I was pretty sure that this is the correct way according to
the Soap 1.2 specification
(https://www.w3.org/TR/soap12-part2/#tabresstatereccodes ).
The manufacturer of the camera told me that I got this wrong because their
API sends a HTTP 200
+ PullmessageFaultResponse and this would not be considered a SOAP-Fault.
Now I have trouble intercepting the otherwise correct FaultResponse with the
Apache CXF Framework.
Can I configure the Framework in such a way that it throws a
PullMessagesFaultResponse_Exception
when encountering a HTTP 200 + PullmessageFaultResponse?
Thank you in advance!
Regards,
Philipp
--
View this message in context: http://cxf.547215.n5.nabble.com/Soap-Fault-and-HTTP-Status-code-ONVIF-tp5765423.html
Sent from the cxf-user mailing list archive at Nabble.com.