79380388

Date: 2025-01-23 08:58:53
Score: 2
Natty:
Report link

follow this: https://learn.microsoft.com/en-us/answers/questions/712472/c-parse-soap-response-for-elements-and-attribute-v

var faultElement = responseXmlDoc.Descendants(soapNamespace + "Fault").FirstOrDefault();
string faultCode = responseXmlDoc.Descendants("faultcode").FirstOrDefault()?.Value;
string faultString = responseXmlDoc.Descendants("faultstring").FirstOrDefault()?.Value;
Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: MANSI CHANU