新人正在学习,希望高手回答。我写的客户端返回超时,怀疑是我传输给服务器的命令有问题,自己找了下,没有相关文件学习。希望大家帮忙谢谢
SOAP 1.1
以下是 SOAP 1.2 请求和响应示例。所显示的占位符需替换为实际值。POST /WebServices/MobileCodeWS.asmx HTTP/1.1
Host: www.webxml.com.cn
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://WebXml.com.cn/getMobileCodeInfo"<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <getMobileCodeInfo xmlns="http://WebXml.com.cn/">
      <mobileCode>string</mobileCode>
      <userID>string</userID>
    </getMobileCodeInfo>
  </soap:Body>
</soap:Envelope>这是服务器的测试页面的内容。(网页地址:http://www.webxml.com.cn/WebServices/MobileCodeWS.asmx?op=getMobileCodeInfo)
本人用c写的。
请问body开始,要怎么写呢?Element要给什么内容呢?
以上语句的内容是什么意思呢?谢谢各位