iamjerryyeung

Thursday, September 23, 2004

webservice:encoding

There are 4 messaging mode:
RPC/Literal(recommended), Document/Literal(recommended)
RPC/Encoded, Document/Encoded.

where X/Y, X is the message style (how to represent it),
Y is encoding. Literal means xml fragement.

RPC messaging style only has one child, the function which
contains its own children for the parameters.

Message flow/pattern: request/response or one-way.
Both RPC & Document supports both flow.
However, it is common for RPC to support request/response.

http://java.sun.com/developer/Books/j2ee/jwsa/JWSA_CH10.pdf

RPC literal example:


RPC/Encoding example:


http://www-106.ibm.com/developerworks/library/ws-jaxrpc1/


0 Comments:

Post a Comment

<< Home