c# - Retrieving Fault types deep inside xml -


i connecting web-service , getting errors in form of soapexception. can contain different types of faults send down within detail property of soapexception. can contain more 1 faults. here 1 example of contained in soapexception instance detail.firstchild.outerxml.

<someerrorfault xmlns=\"urn:somenamespace\" xsi:type=\"someerror\" xmlns:xsi=\"http://www.w3.org/2001/xmlschema-instance\"></someerrorfault> 

the innerexcpetion property null. inspect type of faults , take action on those. of-course can detail.firstchild.outerxml.contains("typeoffaultiamlookingfor") wondering if there better of retrieving information?

you have understand data structure of soap fault. see link might help. http://msdn.microsoft.com/en-us/library/ms189538(v=sql.105).aspx


Comments

Popular posts from this blog

python - mat is not a numerical tuple : openCV error -

c# - MSAA finds controls UI Automation doesn't -

wordpress - .htaccess: RewriteRule: bad flag delimiters -