jhberges
14 years agoNew Contributor
Is there a limitation regarding overloaded methods in mocks?
I.e attempting to mock two methods:
and
seems to always resolve to the first in the WSDL?
I found this: viewtopic.php?f=5&t=1127&p=4195&hilit=overload#p4195 - but the answer didn't seem conclusive?
So; can it be confirmed that soapUI mocks do not handle argument-overloaded methods?
If so, is there a workaround (using scripts or whatnot)?
For the record, this is a partner system which is "unmodifiable" - so adding uniqueness to the mocked methods is not an option.
Thanks, Jan-Helge
someMethod(int,int,int)
and
someMethod(int,AComplexObject)
seems to always resolve to the first in the WSDL?
I found this: viewtopic.php?f=5&t=1127&p=4195&hilit=overload#p4195 - but the answer didn't seem conclusive?
So; can it be confirmed that soapUI mocks do not handle argument-overloaded methods?
If so, is there a workaround (using scripts or whatnot)?
For the record, this is a partner system which is "unmodifiable" - so adding uniqueness to the mocked methods is not an option.
Thanks, Jan-Helge