SOAP Envelope 元素
来源:互联网 发布:c语言设计小游戏 编辑:程序博客网 时间:2024/04/20 06:36
强制使用的 SOAP 的 Envelope 元素是 SOAP 消息的根元素。
SOAP Envelope 元素
必需的 SOAP 的 Envelope 元素是 SOAP 消息的根元素。它可把 XML 文档定义为 SOAP 消息。
请注意 xmlns:soap 命名空间的使用。它的值应当始终是:
http://www.w3.org/2001/12/soap-envelope
并且它可把封装定义为 SOAP 封装:
<?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"> ... Message information goes here ...</soap:Envelope>
xmlns:soap 命名空间
SOAP 消息必须拥有与命名空间 "http://www.w3.org/2001/12/soap-envelope" 相关联的一个 Envelope 元素。
如果使用了不同的命名空间,应用程序会发生错误,并抛弃此消息。
encodingStyle 属性
SOAP 的 encodingStyle 属性用于定义在文档中使用的数据类型。此属性可出现在任何 SOAP 元素中,并会被应用到元素的内容及元素的所有子元素上。SOAP 消息没有默认的编码方式。
语法
soap:encodingStyle="URI"
实例
<?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">...Message information goes here...</soap:Envelope>
- SOAP Envelope 元素
- SOAP学习(一):SOAP Envelope 元素
- {http://schemas.xmlsoap.org/soap/envelope/}Server.userException 错误解决
- WCF SOAP Envelope Header 的Security Element 剖析
- WebService Caused by: javax.wsdl.WSDLException: WSDLException (at /soap:Envelope):
- AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
- SOAP Header 元素
- SOAP Body 元素
- SOAP Fault 元素
- SOAP Fault 元素
- android soap webservers 无法执行 报错 ht.call(SOAP_ACTION, envelope);解决方法
- soap发报文出错:Element type soapenv:Envelope must be followed by either attribute specifications+ >+
- SOAP学习(二):SOAP Header 元素
- WebService发布与调用问题:expected: {http://schemas.xmlsoap.org/soap/envelope/}Envelope but found: {http://schemas.xmlsoap.org/wsdl/}def
- soap相关元素的介绍
- 关于Envelope
- Gaussian envelope
- wsdl中添加soap:header元素
- 可重入函数
- UNIX系统常用命令
- Bloom Filter
- jquery ui 整理
- AspNet MVC 学习
- SOAP Envelope 元素
- 不使用库函数,对字符串进行以空格划分的逆序排列.
- 前端架构师的YY定义
- MeeGo handset 1.1开发环境[6]:封装*.src.rpm和*.rpm
- 应用程序无法正常启动(0xc0150002)!
- Dirty Apps and Dirty Marketing Tricks
- SOAP Header 元素
- 老鼠赛跑
- MT Developer安装方案—当大部分功能不能使用时