On Thursday, August 04, 2011 5:01:28 AM jamesnmullen wrote: > 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?
It definitely doesn't look like it, no. I'm not seeing anything in the JAX- WS spec or similar that would allow this. Dan > > Thanks, > > James > > -- > View this message in context: > http://cxf.547215.n5.nabble.com/adding-SOAP-header-to-SOAP-Fault-tp4666053p > 4666053.html Sent from the cxf-user mailing list archive at Nabble.com. -- Daniel Kulp [email protected] http://dankulp.com/blog Talend - http://www.talend.com
