soap的调用方式

1.方式1    url:http://localhost:3651/recruit/index.asmx?WSDL

post 内容:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tem="http://tempuri.org/">
   <soapenv:Header/>
   <soapenv:Body>
      <tem:HelloWorld>
         <!--Optional:-->
         <tem:msg>this is abc</tem:msg>
      </tem:HelloWorld>
   </soapenv:Body>
</soapenv:Envelope>

方式2:url :http://localhost:3651/recruit/index.asmx?op=HelloWorld

post参数:msg=123

方式3:url :http://localhost:3651/recruit/index.asmx/HelloWorld

post参数:msg=123

原文地址:https://www.cnblogs.com/tiancai/p/7843918.html