If you use JAX-RPC handlers, then the handleFault is called when you throw a SOAPFaultException from your handler and the runtime walks back the handler chain calling the handleFault method on each. So there is a fault response chain on JAX-RPC handlers.
You need to pick up the latest CVS build though since a bug related to this has been fixed. Shantanu --- Anne Thomas Manes <[EMAIL PROTECTED]> wrote: > Sounds like we need a fault response chain. > > _____ > > From: Wei Hsu [mailto:[EMAIL PROTECTED] > Sent: Friday, August 20, 2004 1:47 PM > To: [EMAIL PROTECTED] > Subject: Adding SOAP header to SOAP Faults > > Hi all, > > I'm trying to add a customized SOAP Header to all > responses returned from > the server to the client. So far I'm doing this > with a handler registered > in the response flow. This works fine for normal > responses, but not for > SOAP faults. Please correct me if I'm wrong, but I > don't' think the > response chain is invoked on a fault. If that is > the case, other than > adding that header during serialization with my own > custom fault > serializers, are there any other ways to go about > this? Would really > appreciate any help. Thanks! > > Wei >
