soap实例
来源:互联网 发布:物理虚拟实验室软件 编辑:程序博客网 时间:2024/05/23 18:50
一个 SOAP 实例
在下面的例子中,一个 GetStockPrice 请求被发送到了服务器。此请求有一个 StockName 参数,而在响应中则会返回一个 Price 参数。此功能的命名空间被定义在此地址中: “http://www.example.org/stock”
SOAP 请求:
POST /InStock HTTP/1.1Host: www.example.orgContent-Type: application/soap+xml; charset=utf-8Content-Length: nnn<?xml version="1.0"?><soap:Envelopexmlns:soap="http://www.w3.org/2001/12/soap-envelope"soap:encodingStyle="http://www.w3.org/2001/12/soap-encoding"> <soap:Body xmlns:m="http://www.example.org/stock"> <m:GetStockPrice> <m:StockName>IBM</m:StockName> </m:GetStockPrice> </soap:Body></soap:Envelope>```=SOAP 响应:<div class="se-preview-section-delimiter"></div>
这里写代码片
“`
HTTP/1.1 200 OKContent-Type: application/soap+xml; charset=utf-8Content-Length: nnn<?xml version="1.0"?><soap:Envelopexmlns:soap="http://www.w3.org/2001/12/soap-envelope"soap:encodingStyle="http://www.w3.org/2001/12/soap-encoding"> <soap:Body xmlns:m="http://www.example.org/stock"> <m:GetStockPriceResponse> <m:Price>34.5</m:Price> </m:GetStockPriceResponse> </soap:Body></soap:Envelope>
阅读全文
0 0
- SOAP 实例
- SOAP 实例
- soap实例
- SOAP的HelloWord实例
- javabean soap实例
- php soap实例
- PHP soap实例
- soap 应用实例
- php soap实例讲解
- PHP sOAP 实例
- PHP soap 经典实例
- php soap 使用实例
- php soap实例讲解
- soap使用实例
- php soap实例讲解
- soap实例入门
- SOAP与AXIS2入门实例
- 实例讲解:JAVA SOAP技术
- "_OBJC_CLASS_$_WKWebView", referenced from:"...and "linker command failed with exit code 1 (use -v "
- bzoj2251[2010Beijing Wc]外星联络 后缀数组
- 带你实现ViewGroup规定行数、item居中的流式布局
- Android之网络技术
- A-Fast-RCNN: Hard positive generation via adversary for object detection
- soap实例
- 消息队列
- 在linux下配置ipv6 互通libvirt
- 泛型与非泛型组合
- 关于Activity跳转另一个Activity指定的fragment的解决方法
- 闭关修炼之struts2框架1
- iOS appledoc自动生成API文档
- memcached缓存与mybatis的整合
- 【bzoj1036】[ZJOI2008]树的统计Count