You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cxf.apache.org by "Heemskerk, Marcel (M.)" <Ma...@uwv.nl> on 2009/01/22 18:40:55 UTC

Adding details to Validation SOAP-Fault


With the JAXWS property "schema-validation-enabled" we enabled the XSD
validation of the request. If validation fails, this results SOAP Fault
with <faultcode>00062</faultcode>  and  <faultstring>Request could not
be processed! Request: <![CDATA[<?xml version="1.0" ?>. ........

The SOAP specs specify that an extra <faultdetails> kan be present. We
want to add machine readable XML in the faultdetails. 
Is there a way to add a details to the validation SOAP fault without
rewriting DocLiteralInInterceptor ???  Or should i write an interceptor
for the SOAp Fault itself?



Thanks,
Marcel Heemskerk