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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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.

Reply via email to