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

    • Bug
    • Status: Open
    • Critical
    • Resolution: Unresolved
    • 1.2RC3, 1.3, 1.4
    • None
    • None
    • 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

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

            Dates

              Created:
              Updated: