You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by bu...@apache.org on 2002/10/08 13:40:49 UTC
DO NOT REPLY [Bug 13402] New: -
Wrong service method gets invoked
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13402>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13402
Wrong service method gets invoked
Summary: Wrong service method gets invoked
Product: Axis
Version: 1.0-rc2
Platform: All
OS/Version: Other
Status: NEW
Severity: Major
Priority: Other
Component: Basic Architecture
AssignedTo: axis-dev@xml.apache.org
ReportedBy: p.haensgen@intershop.de
After upgrading my application from Beta 3 to the 1.0 release, I have trouble
with accessing a service that has methods with the same names, but different
arguments:
public ProductPrice[] getProductPrices(ProductRef ref)
public ProductPrice[][] getProductPrices(ProductRef[] refs)
My client calls the first method, which works fine with Axis Beta 3 on the
server side. If I replace the axis.jar at the server by the 1.0 version, the
second method is invoked instead on the server (without changing the
client application). Because it has a different return type than expected,
my client fails.
Possible Workaround: find a different name for the second method.