20080307 c socket soap 结果
http://www.yippeesoft.com

connected   with   www.yippeesoft.com
send()   OK

Received   bytes:618
Result:
HTTP/1.1 200 OK
Connection: close
Date: Thu, 06 Mar 2008 12:53:03 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: 369

<?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><HelloWorldResponse xm
lns="2008-3-6″>http://tempuri.org/"><HelloWorldResult>2008-3-6 20:53:03</HelloWorldResult>
</HelloWorldResponse></soap:Body></soap:Envelope>
Received   bytes:0
Result:

Received   bytes:618
Result:
HTTP/1.1 200 OK
Connection: close
Date: Thu, 06 Mar 2008 13:02:02 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: 369

<?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><HelloWorldResponse xmlns="2008-3-6″>http://tempuri.org/"><HelloWorldResult>2008-3-6 21:02:02</HelloWorldResult></HelloWorldResponse></soap:Body></soap:Envelope>
Received   bytes:0
Result:
7
Received: 8
“““““““““
char*   req="POST /test/websrvtest/s.asmx HTTP/1.1\\r\\n" 
  "Host: www.yippeesoft.com:5566\\r\\n
  "User-Agent: gSOAP/2.7\\r\\n" 
  "Content-Type: text/xml; charset=utf-8\\r\\n" 
  "Content-Length: 481\\r\\n"
  "Connection: close\\r\\n" 
  "SOAPAction: \\"http://tempuri.org/HelloWorld\\"\\r\\n\\r\\n"

  "<?xml version=\\"1.0\\" encoding=\\"UTF-8\\"?>\\n"
"<SOAP-ENV:Envelope xmlns:SOAP-ENV=\\"http://schemas.xmlsoap.org/soap/envelope/\\" xmlns:SOAP-ENC=\\"http://schemas.xmlsoap.org/soap/encoding/\\" xmlns:xsi=\\"http://www.w3.org/2001/XMLSchema-instance\\" xmlns:xsd=\\"http://www.w3.org/2001/XMLSchema\\" xmlns:ns2=\\"http://tempuri.org/Service1Soap\\" xmlns:ns1=\\"http://tempuri.org/\\" xmlns:ns3=\\"http://tempuri.org/Service1Soap12\\"><SOAP-ENV:Body><ns1:HelloWorld></ns1:HelloWorld></SOAP-ENV:Body></SOAP-ENV:Envelope>";
 

历史博文

标签:, ,
十二月 4, 2008 at 9:03 下午 by yippee 1,003 次
Category: Dev
Tags: , ,