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

Can't Parse Arrays results in malformed XML ([0,unbounded]) - Using Doc-Literal Wrapped

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Critical
    • Resolution: Unresolved
    • Affects Version/s: 1.2RC3, 1.3, 1.4
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      Tomcat 5.5, Sun JDK 1.5.06 on Windows XP

      Description

      Step-By-Step Instructions:
      1. Deploy the sample object to tomcat
      2. Using Axis1.x expose the component as a web service, Binding style= wrapped, Use = literal
      3. Get the WS client
      4. Run the sample WS client, error message displayed

      The case can ref to bug2454.

      My fix:
      org\apache\axis\utils\FieldPropertyDescriptor.java
      public Class getType() {
      if (isIndexed()) {
      if ( field.getType().getComponentType().getName().equalsIgnoreCase("byte"))

      { return field.getType(); }

      // END WST CHANGE
      return field.getType().getComponentType();
      } else

      { return field.getType(); }

      }
      ===>
      public Class getType()

      { return field.getType(); }

      The case can pass.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jzwang jzwang
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: