Thanks Anne.

Regards,

Helen.

 


From: Anne Thomas Manes [mailto:[EMAIL PROTECTED]
Sent: Saturday, May 06, 2006 9:01 AM
To: [email protected]; [EMAIL PROTECTED]
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_Operations

On 5/6/06, Anne Thomas Manes <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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.



 

Reply via email to