I have been consuming a dotnet web service for some time. One of the methods in that web service had a parameter added. The web service was changed to use overloading so that clients could call using the old set of parameters or the new set.

As long as I still have a Stub created before they added overloading to the web service I still consume the web service without problems.

However, as soon as I delete the stub and try to create a new one I get the error: WSDL. java.lang.IllegalArgumentException: Duplicate operation with name=GetCallDetail

So, it would appear to me that the problem is with wsdl2java in creating this stub and that it doesn't support overloading? But once you have a stub created the web service appears to work (at least the original one does).

My question is: Does anyone know of a work around for this problem? Is there another way to create this webservice stub? What other options do I have?

FYI. If I looked at the wsdl xml the duplicate method does have a different name. It had the name V2 (original is GetCallDetail, both are in this wsdl).


-------------------------------------------------------------
To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-------------------------------------------------------------



Reply via email to