Parse SOAP request(Deserialize XML) to get body value

I need to parse SOAP request, Deserialize XML to get “8888”

The parsing failed error message is different after the attempt
Can you provide advice and method references? Thank you

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/XXX/" xmlns:xsd="http://www.w3.org/20XX/XXXX" xmlns:xsi="http://www.w3.org/20XX/XXX">
  <s:Header xmlns:s="http://schemas.xmlsoap.org/soap/XXX/" />
  <soap:Body>
    <ns1:authUser xmlns:ns1="http://ws.XXX.com">
      <ns1:out>8888</ns1:out>
    </ns1:authUser>
  </soap:Body>
</soap:Envelope>

Hi

Welcome to UiPath forum

Have a view on this for more ideas on how to parse xml

For a sample xaml on similar scenario

Cheers @chenalice

@chenalice
We have to handle XML namespaces


grafik
grafik

xDoc.Descendants(xnsNS1 + "out").First().Value

I tried successfully, thanks

Thanks for the method advice

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.