用C++写的一个客户端(SOAP Toolkit 3.0),向服务器发送了数据(用抓包工具抓到的):
  <?xml version="1.0" encoding="UTF-8" standalone="no" ?> 
- <soap:Envelope xmlns:SOAPSDK1="http://www.w3.org/2001/XMLSchema" xmlns:SOAPSDK2="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAPSDK3="http://schemas.xmlsoap.org/soap/encoding/" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
- <soap:Body>
- <SOAPSDK4:AddOrder xmlns:SOAPSDK4="http://tempuri.org/">
  <strName>aaaaa</strName> 
  </SOAPSDK4:AddOrder>
  </soap:Body>
  </soap:Envelope>
但服务器无法读到参数strName
服务器代码(.net 2003 C#):
[WebMethod]
public string AddOrder(string strXml)
{
if(strXml != "")
return "ok";
else
return "false";
}
从网页上测试服务器是正确的.
客户端怎么会生成xmlns:SOAPSDK1,这些东西代码并没有加.