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

posted @ 2017-11-16 13:39  甜菜波波  阅读(2933)  评论(0编辑  收藏  举报