[WebMethod] public XmlDocument XML(XmlDocument xmlDoc) { XmlDocument x = new XmlDocument(); x = xmlDoc; return xmlDoc; }
<?xml version="1.0" encoding="utf-8"?> <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/"> <soap:Body> <XML xmlns="http://tempuri.org/"> <xmlDoc>string</xmlDoc> <number>96</number> </XML> </soap:Body> </soap:Envelope>
POST http://localhost:50710/Service1.asmx?op=XML HTTP/1.1 POST /Service1.asmx HTTP/1.1: Host: localhost:50710 Content-Type: text/xml; charset=utf-8 Content-Length: 367 SOAPAction: "http://tempuri.org/XML"
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)