四个SOAP协议应答编码例子
创始人
2024-07-13 14:01:45
0

对于SOAP协议的一些基本概念我们在这里不多赘述了。前面我们也对SOAP封装的内容进行了一些举例讲解,这里我们再来对SOAP协议应答编码的一些例子尽心改一下介绍。

SOAP协议应答编码例1

  1. HTTP/1.1 200 OK  
  2. Content-Type: text/xml; charset="utf-8" 
  3. Content-Length: nnnn  
  4. xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" 
  5. SOAP-ENV:encodingstyle="http://schemas.xmlsoap.org/soap/encoding/"/> 
  6.  
  7.  5  
  8.  
  9.  
  10.  
  11. 34.5 
  12.  
  13.  
  14.  

SOAP协议应答编码例2

  1. HTTP/1.1 200 OK  
  2. Content-Type: text/xml; charset="utf-8" 
  3. Content-Length: nnnn  
  4. xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" 
  5. SOAP-ENV:encodingstyle="http://schemas.xmlsoap.org/soap/encoding/"/> 
  6.  
  7. xmlns:m="Some-URI"> 
  8.  
  9.  34.5  
  10.  10000  
  11.  
  12.  
  13.  
  14.  

SOAP协议应答编码例3

  1. HTTP/1.1 500 Internal Server Error  
  2. Content-Type: text/xml; charset="utf-8" 
  3. Content-Length: nnnn  
  4. xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"> 
  5.  
  6.  
  7. SOAP-ENV:MustUnderstand 
  8. SOAP Must Understand Error 
  9.  
  10.  
  11.  

SOAP协议应答编码例4

  1. HTTP/1.1 500 Internal Server Error  
  2. Content-Type: text/xml; charset="utf-8" 
  3. Content-Length: nnnn  
  4. xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"> 
  5.  
  6.  
  7. SOAP-ENV:Server 
  8. Server Error 
  9.  
  10.  
  11.  
  12. My application didn't work  
  13.  
  14.  1001  
  15.  
  16.  
  17.  
  18.  
  19.  

 

相关内容

热门资讯

如何允许远程连接到MySQL数... [[277004]]【51CTO.com快译】默认情况下,MySQL服务器仅侦听来自localhos...
如何利用交换机和端口设置来管理... 在网络管理中,总是有些人让管理员头疼。下面我们就将介绍一下一个网管员利用交换机以及端口设置等来进行D...
施耐德电气数据中心整体解决方案... 近日,全球能效管理专家施耐德电气正式启动大型体验活动“能效中国行——2012卡车巡展”,作为该活动的...
Windows恶意软件20年“... 在Windows的早期年代,病毒游走于系统之间,偶尔删除文件(但被删除的文件几乎都是可恢复的),并弹...
20个非常棒的扁平设计免费资源 Apple设备的平面图标PSD免费平板UI 平板UI套件24平图标Freen平板UI套件PSD径向平...
规避非法攻击 用好路由器远程管... 单位在市区不同位置设立了科技服务点,每一个服务点的员工都通过宽带路由器进行共享上网,和单位网络保持联...
范例解读VB.NET获取环境变... VB.NET编程语言的使用范围非常广泛,可以帮助开发人员处理各种程序中的需求,而且还能对移动设备进行...
德国电信门户网站可实时显示全球... 德国电信周三推出一个门户网站,直观地实时提供其安装在全球各地的传感器网络检测到的网络攻击状况。该网站...