如何使用soap调用远程webservice
POST /WS.asmx HTTP/1.1Host: ws.abcd.com
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<GetList xmlns="http://www.abcd.com/" />
</soap12:Body>
</soap12:Envelope>
***********************************************************
上面是一个调用XML类的使用说明
我在页面中该如何调用并且将GetList转为XmlNodeList对象
--------------------编程问答-------------------- 帮顶 --------------------编程问答-------------------- POST /WS.asmx HTTP/1.1
Host: ws.abcd.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.abcd.com/GetList"
<?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>
<GetList xmlns="http://www.abcd.com/" />
</soap:Body>
</soap:Envelope>
这种方式也行啊,就命啊~!~!!~ --------------------编程问答-------------------- 每人管:(
补充:.NET技术 , ASP.NET