I am working on Webservice client to WCF webservice (asp.net). The webservice
is sending faults as per soap 1.2 standard, but instead of reserved keywords
Sender/Receiver, they are also sending some other faults like
a:ApplicationFault (which points to some namespace).

<s:Fault>
        <s:Code>
                <s:Value
xmlns:a="urn:mysystems.com:2004-05.Faults">*a:ApplicationFault*</s:Value>
        </s:Code>
        <s:Reason>
                <s:Text xml:lang="en-US">Object reference not set to an 
instance of an
object.</s:Text>
        </s:Reason>
        <s:Detail>
                <ApplicationFault xmlns="urn:mysystems.com:2004-05.Faults"
xmlns:i="http://www.w3.org/2001/XMLSchema-instance";>
                        <Type>System.NullReferenceException</Type>
                </ApplicationFault>
        </s:Detail>
</s:Fault>

Due to this, client code is throwing exceptions that a:ApplicationFault is
not a standard value. 

Can we handle these type of custom faults in CXF?

Thanks

--
View this message in context: 
http://cxf.547215.n5.nabble.com/Customized-SOAP-faults-tp5075038p5075038.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to