I wanted to check my understanding.

I need to add a SOAP Header to a SOAP Fault, this will be returning a
transaction id I received in the request.

I have done this successfully using the @WebParam annotation for
inbound/outbound SOAP Headers in a request/response scenario.

There doesn't seem to be a way to annotate a WebFault to return a SOAP
Header. I am correct in thinking the only way to achieve this is with the
use of an Interceptor which would add the header to the SOAP Fault as the
interceptor chain was being unwound?

Also does this mean I cannot get my WSDL (generated from Java code) to
include the fact my SOAP Fault will include a header?

Thanks,

James

--
View this message in context: 
http://cxf.547215.n5.nabble.com/adding-SOAP-header-to-SOAP-Fault-tp4666053p4666053.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to