WSDL binding style for SOAP

 A Web Services Description Language (WSDL) binding style can be RPC or document. The use can be encoded or literal. The  combination of style and use  can be:

1.  RPC/encoded

2.  RPC/literal

3.  Document/encoded

4.  Document/literal

5.  Dcoument/literal wrapper

 

 

1.  RPC/encoded

 

feature: straightforward description, operation name in the message, there are type encoding info in the message,but not easily validation cause not all defined in the schema, not WS-I compliant

 

2.  RPC/literal

feature: 与1相同除了soap消息中移除了type encoding info, WS-I compliant

 

3. Document/encoded

feature: not WS-I compliant

 

4. Document/literal

feature: no type encoding info in message, everything within soap:body defined in schema leads to easily validation,but operation name not occurring in message, soap:body could be multiple children not complying to WS-I

 

5.  Dcoument/literal wrapper

该种方式用的比较多。

These are the basic characteristics of the document/literal wrapped pattern:

  • The input message has a single part.
  • The part is an element.
  • The element has the same name as the operation.
  • The element's complex type has no attributes.

feature: no type encoding info in message, everything defined in schema, message includes operation name, soap:body only includes one child complying to WS-I, but not supporting java overload

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值