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

Attribute field names are not honored from bean type desc.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • None

    Description

      In SimpleDeserializer, the code looks for attribute names in the bean
      description. If it finds one, it is supposed to use the field name from
      the description. The code is missing the variable assignment.

      Index: SimpleDeserializer.java
      ===================================================================
      RCS file: /home/cvspublic/ws-axis/java/src/org/apache/axis/encoding/ser/SimpleDeserializer.java,v
      retrieving revision 1.46
      diff -u -r1.46 SimpleDeserializer.java
      — SimpleDeserializer.java 7 Feb 2005 13:15:50 -0000 1.46
      +++ SimpleDeserializer.java 10 Feb 2005 17:49:24 -0000
      @@ -355,7 +355,7 @@
      String fieldName = attributes.getLocalName;

      if(typeDesc != null)

      { - typeDesc.getFieldNameForAttribute(attrQName); + fieldName = typeDesc.getFieldNameForAttribute(attrQName); if (fieldName == null) continue; }

      Attachments

        Activity

          People

            Unassigned Unassigned
            lagnat Steve Green
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: