WS-Addressing and SOAP Faults Q&A

Here's a recent Q&A that may be useful to others:
 
Q: When a service has problems with WS-Addressing related stuff, it will always send one of the faults defined in the WS-Addressing spec, and the wsa:Action header for that response will be http://schemas.xmlsoap.org/ws/2004/08/addressing/fault. Is this correct?
A: Yes.
 
Q: What about the general case? If a WSDL 1.1 portType specifies faults, can the service only respond with those faults?
A: No, you may always send faults other than just those described in the portType.
 
Q: Which wsa:Action would be used for such faults?
A: The special fault
URI ( http://schemas.xmlsoap.org/ws/2004/08/addressing/fault ) is used for wsa:Action on all faults.
 
Q: May an application dream up its own implementation-specific faults and send them as Soap:Fault with wsa:Action = http://schemas.xmlsoap.org/ws/2004/08/addressing/fault?
A: Yes. The intention is that this URI would be used as the wsa:Action for all faults.

Posted Oct 18 2004, 10:21 PM by jeffrey-schlimmer

Add a Comment

(required)  
(optional)
(required)  
Remember Me?