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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Critical
    • Resolution: Unresolved
    • 1.3
    • None
    • Basic Architecture
    • None
    • 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

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

            Dates

              Created:
              Updated: