Uploaded image for project: 'Axis'
  1. Axis
  2. AXIS-2396

two operations with same input/output type not getting invoked correctly

    Details

    • Type: Bug
    • Status: Open
    • Priority: Critical
    • Resolution: Unresolved
    • Affects Version/s: 1.3
    • Fix Version/s: None
    • Component/s: Basic Architecture
    • Labels:
      None
    • Environment:
      OS-Windows XP
      Container-Weblogic(8.1 sp4)
      java:1.4.2

      Description

      I used WSDL2Java to generate web services stub and classes. It correctly generated three methods

      public MyResponse createReservation(Reservation body);
      public MyResponse adjustReservation(Reservation body);
      public AnotherRespose checkAvailability(Status body);

      When I invoked the adjustReservation web service using Axis Client, createReservation gets executed. I have debugged it in eclipse and for some reason, RPCProvider invokes createReservation eventhough MessageContext has correct SoapActionURI which is AdjustReservation.

      checkAvailability operation gets called correctly.

      It seems to be a bug for it can not handle methods with different names but same input/output type.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              prabhat143 Prabhat Jha
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: