chenalice
(Chenalice)
1
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
ppr
(Peter Preuss)
3
@chenalice
We have to handle XML namespaces
xDoc.Descendants(xnsNS1 + "out").First().Value
chenalice
(Chenalice)
4
I tried successfully, thanks
chenalice
(Chenalice)
5
Thanks for the method advice
system
(system)
Closed
6
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.