I am working on webservice project. When I pass an XML to webservice, it will return back Success OR Failure XML. I need to read the response XML and need to identity whether it is success or failure.
If it is Success, need to read the value of 'ProjectID' from the response XML.
If it is failure, need to read the 'Error' message text
(Attached two XML files - response_failure.XML & response_success.XML)
I know, we can use XmlDocument, XmlElement, XmlNode for this purpose in C#. But not clear about that. Also i have only less time to finish this project.
Could you please assist me by providing the C# code to read the response XML as mentioned above.
Highly appreciates the help that you could provide me.