ws-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <>
Subject [Ws Wiki] Update of "FrontPage/Axis/StyleInWSDDAndWSDL" by DavanumSrinivas
Date Wed, 08 Feb 2006 15:57:44 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Ws Wiki" for change notification.

The following page has been changed by DavanumSrinivas:

New page:
The WSDL style has two possible options: RPC and Document. (If neither is specified, it defaults
to "document".) This attribute refers to the SOAP message style -- whether the SOAP Body contains
a document defined by a schema or whether the Body is constructed dynamically based on the
method name and a set of parameter types. WSDL has another attribute, "use", which indicates
whether the message structure is defined by a schema (use="literal") or generated using the
SOAP encoding data model (use="encoded"). Valid combinations of these two attributes include
document/literal, rpc/literal, and rpc/encoded.

The WSDD style has four options: RPC, WRAPPED, DOCUMENT, MESSAGE. (If no style is specified,
it defaults to "RPC".) This style attribute encompasses both message style and programming
style. There are three types of programming style:
 * a parameterized invocation API (XML parameters are mapped to individual Java classes):
      '''return method(arg1, arg2)'''
 * an object-based invocation API (XML parameters are collectively mapped to a bean):
      '''return method (object)'''
 * a messaging API (XML messages are mapped to DOM):
      '''Document method(Document)'''

RPC produces rpc/encoded with a parameterized API (you can use the "use" attribute to specify
that you want rpc/literal)
 * WRAPPED produces document/literal with a parameterized API
 * DOCUMENT produces document/literal with an object-based API
 * MESSAGE produces document/literal with a messaging API

For more information on the WRAPPED style, see Anne's blog:

View raw message