Ofer Baranes wrote:
Thanks alek , as far as the javadoc of WSIFClientProxy,
WSIF do suppor method overloading , is that wrong ?!
it supports /somewhat/ and i do not think better support is of high
importance for reasons i have given
BTW, I found that other overloading is working
correct if argument list does not contains 'User Object'
but only primitive or String.Does it make sense ?
you will need to point ways to reproduce problem to JIRA and you can
also download source and run it under debugger to pinpoint problem (and
if you have good patch with testcase i will commit fix to CVS)
thanks,
alek
-----Original Message-----
From: Aleksander Slominski [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 03, 2005 7:01 PM
To: [email protected]
Subject: Re: method overloading problem
Ofer Baranes wrote:
I have 3 methods with same name but with different argument list.
When trying to invoke any of these methods,i get an exception saying :
org.apache.wsif.WSIFException: Method XXX was not found in portType
YYY
The method for sure appear in the interface,in the wsdl,and
as far as I checked (via debug on WSIFClientProxy),it did appear
on wsif classes as well.
What can lead to this situation ? what kind of failure can cause this
error ?
hi,
supporting for overloaded methods in WSDL 1.1 tricky and in general not
recommended.
i think WS-I BP recommendation for WSDL 1.1 prohibited them all
together and in new WSDL 2.0 they are not allowed (AFAIK).
alek
--
The best way to predict the future is to invent it - Alan Kay