






















1。第一中不用说了。使用vs.net提供的工具,生成代理类。
2。使用webrequest的方法。
public static XmlDocument XmlSendByHttp(string xmlString, string url, string SoapAction)
{
XmlDocument outxml = new XmlDocument();
Stream oWriter = null;
bool bResult = true;
byte[] data = Encoding.UTF8.GetBytes(xmlString);
HttpWebRequest myRequest = (HttpWebRequest)WebRequest.Create(url);
myRequest.Method
= "POST";Stream oReader
= null;此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。