- RPC/Literal
- RPC/Encoded
- Document/Literal
- Document/Encoded
- Document Literal Wrapped Mode
WSDL Styles | Advantage | Disadvantage |
RPC/Encoded | The WSDL is simple and straightforward | The type encoding info (such as xsi:type="xsd:int") is usually just overhead which degrades throughput performance. |
RPC/Literal | The WSDL is still simple and straightforward | Message cannot be easily validated as very few lines contain things defined in a schema; the rest of the soap:body contents comes from WSDL definition |
Document/Encoded | | Nobody follows this style. It is not WS-I compliant |
Dcoument/Literal | There is no type encoding info. | The WSDL is getting a bit more complicated.It is not easily understood by humans |
Document/Literal Wrapped Mode | There is no type encoding info. | The WSDL is even more complicated. |
Reference: http://www.ibm.com/developerworks/webservices/library/ws-whichwsdl/ |
No comments:
Post a Comment