using Newtonsoft.Json.Linq;
public static void Main()
""@xmlns"": ""http://tempuri.org/""
""@xmlns:xsi"": ""http://www.w3.org/2001/XMLSchema-instance"",
""@xmlns:xsd"": ""http://www.w3.org/2001/XMLSchema"",
""@xmlns:soap"": ""http://schemas.xmlsoap.org/soap/envelope/""
""@xmlns:xsi"": ""http://www.w3.org/2001/XMLSchema-instance"",
""@xmlns:xsd"": ""http://www.w3.org/2001/XMLSchema"",
""@xmlns:soap"": ""http://schemas.xmlsoap.org/soap/envelope/"",
""@xmlns"": ""http://tempuri.org/""
XmlDocument doc = (XmlDocument)JsonConvert.DeserializeXmlNode(data1);
Console.WriteLine(data1);
Console.WriteLine(doc.OuterXml);
doc = (XmlDocument)JsonConvert.DeserializeXmlNode(data2);
Console.WriteLine(data2);
Console.WriteLine(doc.OuterXml);