>I'd highly recommend that you use soap faults as they were intedended >and return your own faultcode qnames, rather than returning a generic >faultcode qname and burying the real fault info in the detail, e.g. ><soapenv:Fault xmlns:sf="http://www.simon.fell.com/faults"> > <faultcode>sf:InvalidStartDate</faultcode> ...
I wasn't sure so I looked it up; this is WS-I compliant as long as you use your own namespace for the contents of the faultcode element. See R1004 and R1031. <http://www.ws-i.org/Profiles/BasicProfile-1.1-2004-08-24.html#SOAP_Custom_Fault_Codes>
