高手进来看看 小菜问题 在线等!!!
POST /P.asmx HTTP/1.1
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client Protocol 2.0.50727.42)
Content-Type: text/xml; charset=utf-8
SOAPAction: "http://www.newl.net/Auth"
Host: www.newl.net
Content-Length: 324
Expect: 100-continue
Connection: Keep-Alive
HTTP/1.1 100 Continue
<?xml version="1.0" encoding="utf-8"?><soap:Envelope 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"><soap:Body><Auth xmlns="http://www.newl.net/"><ID>lEOqFioC2PQEpHt22q2/hw</ID></Auth></soap:Body></soap:Envelope>
HTTP/1.1 200 OK
Date: Fri, 19 Jun 2009 08:01:22 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
X-AspNet-Version: 2.0.50727
Cache-Control: private, max-age=0
Content-Type: text/xml; charset=utf-8
Content-Length: 338
<?xml version="1.0" encoding="utf-8"?><soap:Envelope 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"><soap:Body><AuthResponse xmlns="http://www.newl.net/"><AuthResult>true</AuthResult></AuthResponse></soap:Body></soap:Envelope>
上面这段是我抓包获得的 我想问怎样在实现他这个post提交数据上来在给他发回这条
HTTP/1.1 100 Continue
<?xml version="1.0" encoding="utf-8"?><soap:Envelope 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"><soap:Body><Auth xmlns="http://www.newl.net/"><ID>lEOqFioC2PQEpHt22q2/hw</ID></Auth></soap:Body></soap:Envelope>
HTTP/1.1 200 OK
Date: Fri, 19 Jun 2009 08:01:22 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
X-AspNet-Version: 2.0.50727
Cache-Control: private, max-age=0
Content-Type: text/xml; charset=utf-8
Content-Length: 338
<?xml version="1.0" encoding="utf-8"?><soap:Envelope 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"><soap:Body><AuthResponse xmlns="http://www.newl.net/"><AuthResult>true</AuthResult></AuthResponse></soap:Body></soap:Envelope>
返回值。谢谢
--------------------编程问答-------------------- 我顶你下!我不知道 --------------------编程问答-------------------- 也不会,期待解答! --------------------编程问答-------------------- 期待高手的回答 --------------------编程问答-------------------- 期待高手的回答
补充:.NET技术 , ASP.NET