You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by Raymond Feng <en...@gmail.com> on 2006/04/26 00:52:51 UTC
[AXIS2] Question: Does WSDL2Java support doc-lit wrapped style?
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.3 reference 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:
a.. If an input message has is a single part.
b.. The part is an element.
c.. The element has the same name as the operation
d.. 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
Re: [AXIS2] Question: Does WSDL2Java support doc-lit wrapped style?
Posted by Davanum Srinivas <da...@gmail.com>.
Yep :) We are looking for people to help, hence the question mark.
-- dims
On 4/25/06, Sanjiva Weerawarana <sa...@opensource.lk> wrote:
> On Tue, 2006-04-25 at 18:26 -0700, Jean-Sebastien Delfino wrote:
> > Davanum Srinivas wrote:
> > > Not in 1.0 Final (May 1 - tentative)...definitely(?) after that.
> > >
> >
> > Ok thanks, I'm curious about the question mark at the end of
> > definitely... Is there a definite intention to support this pattern? or
> > is this an open question and the direction is not know yet?
>
> We should definitely support the pattern ... but someone has to sign up
> to doing the work :).
>
> Sanjiva.
>
>
--
Davanum Srinivas : http://wso2.com/blogs/
Re: [AXIS2] Question: Does WSDL2Java support doc-lit wrapped style?
Posted by Sanjiva Weerawarana <sa...@opensource.lk>.
On Tue, 2006-04-25 at 18:26 -0700, Jean-Sebastien Delfino wrote:
> Davanum Srinivas wrote:
> > Not in 1.0 Final (May 1 - tentative)...definitely(?) after that.
> >
>
> Ok thanks, I'm curious about the question mark at the end of
> definitely... Is there a definite intention to support this pattern? or
> is this an open question and the direction is not know yet?
We should definitely support the pattern ... but someone has to sign up
to doing the work :).
Sanjiva.
Re: [AXIS2] Question: Does WSDL2Java support doc-lit wrapped style?
Posted by Jean-Sebastien Delfino <js...@apache.org>.
Davanum Srinivas wrote:
> Not in 1.0 Final (May 1 - tentative)...definitely(?) after that.
>
Ok thanks, I'm curious about the question mark at the end of
definitely... Is there a definite intention to support this pattern? or
is this an open question and the direction is not know yet?
> On 4/25/06, Jean-Sebastien Delfino <js...@apache.org> wrote:
>
>> robert lazarski wrote:
>>
>>> 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.
>>>
>>>
>> Are there any plans for WSDL2Java to recognize "wrapped"
>> document/literal style operations and generate "unwrapped" java methods
>> in a near future? Thanks.
>>
>>
>>> Java2wsdl is indeed supported in axis2 .
>>>
>>> HTH,
>>> Robert
>>> http://www.braziloutsource.com
>>>
>>> On 4/25/06, *Raymond Feng* <enjoyjava@gmail.com
>>> <ma...@gmail.com>> 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.3 reference 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
>>>
>>>
>>>
>>>
>> --
>> Jean-Sebastien
>>
>>
>>
>
>
> --
> Davanum Srinivas : http://wso2.com/blogs/
>
>
--
Jean-Sebastien
Re: [AXIS2] Question: Does WSDL2Java support doc-lit wrapped style?
Posted by Davanum Srinivas <da...@gmail.com>.
Not in 1.0 Final (May 1 - tentative)...definitely(?) after that.
On 4/25/06, Jean-Sebastien Delfino <js...@apache.org> wrote:
> robert lazarski wrote:
> > 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.
> >
> Are there any plans for WSDL2Java to recognize "wrapped"
> document/literal style operations and generate "unwrapped" java methods
> in a near future? Thanks.
>
> > Java2wsdl is indeed supported in axis2 .
> >
> > HTH,
> > Robert
> > http://www.braziloutsource.com
> >
> > On 4/25/06, *Raymond Feng* <enjoyjava@gmail.com
> > <ma...@gmail.com>> 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.3 reference 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
> >
> >
> >
> --
> Jean-Sebastien
>
>
--
Davanum Srinivas : http://wso2.com/blogs/
Re: [AXIS2] Question: Does WSDL2Java support doc-lit wrapped style?
Posted by Jean-Sebastien Delfino <js...@apache.org>.
robert lazarski wrote:
> 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.
>
Are there any plans for WSDL2Java to recognize "wrapped"
document/literal style operations and generate "unwrapped" java methods
in a near future? Thanks.
> Java2wsdl is indeed supported in axis2 .
>
> HTH,
> Robert
> http://www.braziloutsource.com
>
> On 4/25/06, *Raymond Feng* <enjoyjava@gmail.com
> <ma...@gmail.com>> 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.3 reference 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
>
>
>
--
Jean-Sebastien
Re: [AXIS2] Question: Does WSDL2Java support doc-lit wrapped style?
Posted by robert lazarski <ro...@gmail.com>.
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 .
HTH,
Robert
http://www.braziloutsource.com
On 4/25/06, Raymond Feng <en...@gmail.com> 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
>
>