Style / Usage SOAP Request / Response

I was wondering if anyone could explain the differences in the web service SOAP request / response with the following style / use of wsdl binding:

  • Document / Literal
  • RPC / literal
  • wrapped document style

Thanks in advance

+3
source share
1 answer

In this article from IBM DeveloperWorks [ What style of WSDL should I use? ] has an excellent explanation of the differences between these binding styles. In short, the only differences are the values ​​of the SOAP binding style attribute ("rpc" or "document") in the WSDL file and the way the arguments and return values ​​of the message are determined (and therefore how they appear in SOAP):

[ , ]

  • RPC/literal - WSDL .
    • PROS: WSDL, SOAP, WS-I.
    • CONS: , WSDL, XSD.
  • /. WSDL , XML-.
    • PROS: XSD, WS-I, .
    • CONS: WSDL, SOAP .
  • / ( " " ). WSDL , XSD , WSDL.
    • PROS: SOAP , WS-I.
    • CONS: WSDL ( , ).

, №3 (Document/literal Wrapped) , Microsoft, OSS, (, WSDL/XSD, ). Microsoft [1] Java/OSS (Axis2, JAX-WS) .

" ", , , — — .

+3

All Articles