Changes Between SOAP 1.1 and SOAP 1.2
编程技术  /  houtizong 发布于 3年前   112
SOAP Version 1.2 Part 0: Primer (Second Edition)
SOAP Version 1.2 Part 1: Messaging Framework (Second Edition)
SOAP Version 1.2 Part 2: Adjuncts (Second Edition)
Which style of WSDL should I use?
Changes Between SOAP 1.1 and SOAP 1.2
SOAP Version 1.2 has a number of changes in syntax and provides additional (or clarified) semantics from those described in [SOAP 1.1].
Document structure
Additional or changed syntax
env:encodingStyle
attribute to appear on the SOAP env:Envelope
, whereas SOAP 1.1 allows it to appear on any element. SOAP 1.2 specifies specific elements where this attribute may be used.env:NotUnderstood
header element for conveying information on a mandatory header block which could not be processed, as indicated by the presence of an env:MustUnderstand
fault code. SOAP 1.1 provided the fault code, but no details on its use.env:mustUnderstand
attribute in header elements takes the (logical) value "true" or "false", whereas in SOAP 1.1 they are the literal value "1" or "0" respectively.DataEncodingUnknown
.env:actor
with env:role
but with essentially the same semantics.env:relay
, for header blocks to indicate if unprocessed header blocks should be forwarded.env:Code
and env:Reason
, respectively, for what used to be called faultcode
and faultstring
in SOAP 1.1. SOAP 1.2 also allows multiple env:Text
child elements of env:Reason
qualified by xml:lang
to allow multiple language versions of the fault reason.env:Code
sub-element in the env:Fault
element, and introduces two new optional subelements, env:Node
and env:Role
.env:Details
element in env:Fault
. In SOAP 1.2, the presence of the env:Details
element has no significance as to which part of the fault SOAP message was processed.SOAP HTTP binding
SOAPAction
HTTP header defined in SOAP 1.1 has been removed, and a new HTTP status code 427 has been sought from IANA for indicating (at the discretion of the HTTP origin server) that its presence is required by the server application. The contents of the former SOAPAction
HTTP header are now expressed as a value of an (optional) "action" parameter of the "application/soap+xml" media type that is signaled in the HTTP binding.RPC
rpc:result
element accessor for RPCs.SOAP encodings
href
attribute in SOAP 1.1 (of type xs:anyURI
) is called enc:ref
in SOAP 1.2 and is of type IDREF
.enc:nodeType
to elements encoded using SOAP encoding that identifies its structure (i.e., a simple value, a struct or an array).Enable SOAP 1.2 binding on an endpoint
Specify the binding through @BindingType
annotation in the implementation class to use SOAP 1.2 binding.
请勿发布不友善或者负能量的内容。与人为善,比聪明更重要!
技术博客集 - 网站简介:
前后端技术:
后端基于Hyperf2.1框架开发,前端使用Bootstrap可视化布局系统生成
网站主要作用:
1.编程技术分享及讨论交流,内置聊天系统;
2.测试交流框架问题,比如:Hyperf、Laravel、TP、beego;
3.本站数据是基于大数据采集等爬虫技术为基础助力分享知识,如有侵权请发邮件到站长邮箱,站长会尽快处理;
4.站长邮箱:[email protected];
文章归档
文章标签
友情链接