You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Wei Hsu <wh...@openharbor.com> on 2004/08/20 19:46:48 UTC

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


RE: Adding SOAP header to SOAP Faults

Posted by Anne Thomas Manes <an...@manes.net>.
Sounds like we need a fault response chain.
 
  _____  

From: Wei Hsu [mailto:whsu@openharbor.com] 
Sent: Friday, August 20, 2004 1:47 PM
To: axis-user@ws.apache.org
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