Uploaded image for project: 'Scout (Retired)'
  1. Scout (Retired)
  2. SCOUT-116

IndexOutOfBoundsException in AxisTransport after changes in JUDDI-498.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.2.2
    • 1.2.3
    • Scout Implementation
    • None

    Description

      After the change in JUDDI-498, now the result of these void server call is an empty Vector, so that result.elementAt(0) will result in IndexOutOfBoundsException. All these void related call will have the same failure.

      See following code in scout for details.

      org.apache.ws.scout.transport.AxisTransport.send(Element, URI)

      {

      ...
      try {
      service = new Service();
      call = (Call)service.createCall();
      call.setTargetEndpointAddress(endpointURL.toURL());

      String requestString = XMLUtils.ElementToString(request);
      SOAPBodyElement body = new SOAPBodyElement(new ByteArrayInputStream(requestString.getBytes("UTF-8")));
      Object[] soapBodies = new Object[]

      { body }

      ;

      Vector result = (Vector)call.invoke(soapBodies);
      response = ((SOAPBodyElement)result.elementAt(0)).getAsDOM();
      }

      ...

      }

      Attachments

        Activity

          People

            kstam Kurt Stam
            genspring Lin Quan Jiang
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: