axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "robert lazarski" <>
Subject Re: [AXIS2] Question: Does WSDL2Java support doc-lit wrapped style?
Date Tue, 25 Apr 2006 23:34:25 GMT
Take a look at the axis2 migration guide - there's a doc / lit example there
that uses --noWrapped in axis 1.x and shows the axis2 equivalent. IMHO that
seems like the direction we're headed.

Java2wsdl is indeed supported in axis2 .


On 4/25/06, Raymond Feng <> wrote:
> Hi,
> I understand Axis1.x WSDL2Java honors doc-lit wrapped style and generates
> unwrapped java methods. The following is a quote from the Axis 1.3reference guide.
> "W, --noWrapped
> This turns off the special treatment of what is called "wrapped"
> document/literal style operations. By default, WSDL2Java will recognize the
> following conditions:
>    - If an input message has is a single part.
>    - The part is an element.
>    - The element has the same name as the operation
>    - The element's complex type has no attributes
> When it sees this, WSDL2Java will 'unwrap' the top level element, and
> treat each of the components of the element as arguments to the operation.
> This type of WSDL is the default for Microsoft .NET web services, which wrap
> up RPC style arguments in this top level schema element. "
> When I tried Axis2 WSDL2Java, it seems that it always generate unwrapped
> stubs and skeletons. Is this the direction we're heading?
> BTW, do we have Java2WSDL support in Axis2?
> Thanks,
> Raymond

View raw message