axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From i..@apache.org
Subject cvs commit: ws-axis/java/src/org/apache/axis/encoding/ser BeanDeserializer.java
Date Fri, 02 Jul 2004 13:03:12 GMT
ias         2004/07/02 06:03:12

  Modified:    java/src/org/apache/axis/encoding/ser BeanDeserializer.java
  Log:
  Fix - a nil value in a XML instance must be deserialized as a null value in a Java instance.
  
  Revision  Changes    Path
  1.68      +4 -0      ws-axis/java/src/org/apache/axis/encoding/ser/BeanDeserializer.java
  
  Index: BeanDeserializer.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/java/src/org/apache/axis/encoding/ser/BeanDeserializer.java,v
  retrieving revision 1.67
  retrieving revision 1.68
  diff -u -r1.67 -r1.68
  --- BeanDeserializer.java	27 Jun 2004 12:28:31 -0000	1.67
  +++ BeanDeserializer.java	2 Jul 2004 13:03:12 -0000	1.68
  @@ -256,6 +256,10 @@
                   if (!((dSer != null) && (dSer instanceof ArrayDeserializer)) ||
                           propDesc.getType().isArray()) {
                       collectionIndex++;
  +                    dSer.registerValueTarget(new BeanPropertyTarget(value,
  +                            propDesc, collectionIndex));
  +                    addChildDeserializer(dSer);
  +                    return (SOAPHandler)dSer;
                   }
               }
               return null;
  
  
  

Mime
View raw message