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="
lns="
</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="
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=\\"