You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Sreedhar Chahanapally <sc...@waysystems.com> on 2006/05/05 22:38:06 UTC
Regarding overloaded methods in a WSDL
Hi All,
I have a third party WSDL which has overloaded methods.
I am using apache-axis 1.2 and when trying to run WSDL2Java it complains
saying, the method is overloaded.
But when I use xml-axis-10 I don't get this problem and I could generate the
client side stubs.
May I know why is this happening? And how to generate client side code using
apache-axis 1.2
Any help highly appreciated.
Thanks & regards,
Helen.
RE: Regarding overloaded methods in a WSDL
Posted by Sreedhar Chahanapally <sc...@waysystems.com>.
Thanks Anne.
Regards,
Helen.
_____
From: Anne Thomas Manes [mailto:atmanes@gmail.com]
Sent: Saturday, May 06, 2006 9:01 AM
To: axis-user@ws.apache.org; schahanapally@waysystems.com
Subject: Re: Regarding overloaded methods in a WSDL
Note also that the WS-I Basic Profile [1] disallows overloaded messages:
4.5.3 Distinctive Operations
Operation name overloading in a wsdl:portType is disallowed by the Profile.
R2304 A wsdl:portType in a DESCRIPTION MUST have operations with distinct
values for their name attributes.
Note that this requirement applies only to the wsdl:operations within a
given wsdl:portType. A wsdl:portType may have wsdl:operations with names
that are the same as those found in other wsdl:portTypes.
[1]
http://www.ws-i.org/Profiles/BasicProfile-1.1-2004-08-24.html#Distinctive_Op
erations
On 5/6/06, Anne Thomas Manes <at...@gmail.com> wrote:
Overloaded methods cause significant interoperability headaches and should
not be used. I believe Axis decremented support for overloaded methods in
V1.2.
Anne
On 5/5/06, Sreedhar Chahanapally <sc...@waysystems.com> wrote:
Hi All,
I have a third party WSDL which has overloaded methods.
I am using apache-axis 1.2 and when trying to run WSDL2Java it complains
saying, the method is overloaded.
But when I use xml-axis-10 I don't get this problem and I could generate the
client side stubs.
May I know why is this happening? And how to generate client side code using
apache-axis 1.2
Any help highly appreciated.
Thanks & regards,
Helen.
Re: Regarding overloaded methods in a WSDL
Posted by Anne Thomas Manes <at...@gmail.com>.
Note also that the WS-I Basic Profile [1] disallows overloaded messages:
4.5.3 Distinctive Operations
Operation name overloading in a wsdl:portType is disallowed by the Profile.
R2304 A wsdl:portType in a DESCRIPTION MUST have operations with distinct
values for their name attributes.
Note that this requirement applies only to the wsdl:operations within a
given wsdl:portType. A wsdl:portType may have wsdl:operations with names
that are the same as those found in other wsdl:portTypes.
[1]
http://www.ws-i.org/Profiles/BasicProfile-1.1-2004-08-24.html#Distinctive_Operations
On 5/6/06, Anne Thomas Manes <at...@gmail.com> wrote:
>
> Overloaded methods cause significant interoperability headaches and should
> not be used. I believe Axis decremented support for overloaded methods in
> V1.2.
>
> Anne
>
>
> On 5/5/06, Sreedhar Chahanapally <sc...@waysystems.com> wrote:
> >
> > Hi All,
> >
> >
> >
> > I have a third party *WSDL* which has overloaded methods.
> >
> >
> >
> > I am using *apache-axis 1.2* and when trying to run WSDL2Java it
> > complains saying, *the method is overloaded.*
> >
> > * *
> >
> > *But when I use xml-axis-10 I don't get this problem and I could
> > generate the client side stubs.*
> >
> > * *
> >
> > *May I know why is this happening? And how to generate client side code
> > using apache-axis 1.2*
> >
> > * *
> >
> > *Any help highly appreciated.*
> >
> > * *
> >
> > *Thanks & regards,*
> >
> > *Helen.*
> >
>
>
Re: Regarding overloaded methods in a WSDL
Posted by Anne Thomas Manes <at...@gmail.com>.
Overloaded methods cause significant interoperability headaches and should
not be used. I believe Axis decremented support for overloaded methods in
V1.2.
Anne
On 5/5/06, Sreedhar Chahanapally <sc...@waysystems.com> wrote:
>
> Hi All,
>
>
>
> I have a third party *WSDL* which has overloaded methods.
>
>
>
> I am using *apache-axis 1.2* and when trying to run WSDL2Java it complains
> saying, *the method is overloaded.*
>
> * *
>
> *But when I use xml-axis-10 I don't get this problem and I could generate
> the client side stubs.*
>
> * *
>
> *May I know why is this happening? And how to generate client side code
> using apache-axis 1.2*
>
> * *
>
> *Any help highly appreciated.*
>
> * *
>
> *Thanks & regards,*
>
> *Helen.*
>