Main BLOGGER
Google
WWW THIS BLOG
Friday, December 09, 2005
 
WSDL Design: style=Document/Rpc Use=Literal/Encoded
quoted from "Which Style of WSDL shoud I use?" and "SOAP Fight: RPC vs. Document"
1. Structure of WSDL
a. Root element "definition"
b. PortTypes: include a set of operations
c. Messages in the operations
d. Types used in the message: schema
e. Bindings to "portType": actual implementation protocol e.g. SOAP
f. Services
2. Where to specify "style" and "use"?

3. STYLE difference

RPC style: soap body contains an element with the name of the Web method being invoked. This element in turn contains an entry for each parameter and the return value of this method.

Document style: The message parts appear directly under the soap body element.



<< Home

Powered by Blogger

Google
WWW THIS BLOG