教程 > soap > 阅读:59

soap 示例——迹忆客-ag捕鱼王app官网

在下面的示例中,getquotation 请求通过 http 发送到 soap 服务器。 请求有一个 quotationname 参数,响应中会返回一个 quotation

该函数的命名空间在 http://www.xyz.org/quotation 地址中定义。

这是 soap 请求

post /quotation http/1.0
host: www.xyz.org
content-type: text/xml; charset = utf-8
content-length: nnn


   
      
         miscrosoft
      
   

相应的 soap 响应如下所示

http/1.0 200 ok
content-type: text/xml; charset = utf-8
content-length: nnn


   
      
         here is the quotation
      
   

查看笔记

扫码一下
查看教程更方便
网站地图