You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by di...@apache.org on 2005/04/27 15:37:35 UTC

cvs commit: ws-axis/java/src/org/apache/axis/encoding/ser ArraySerializer.java

dims        2005/04/27 06:37:35

  Modified:    java/src/org/apache/axis/encoding/ser ArraySerializer.java
  Log:
  Fix for  AXIS-1942 - 1.2RC3: rpc/enc mode, encoding long[] as xsd:anyType broken from 1.2RC2
  
  URL: http://issues.apache.org/jira/browse/AXIS-1942
  
  Revision  Changes    Path
  1.66      +1 -0      ws-axis/java/src/org/apache/axis/encoding/ser/ArraySerializer.java
  
  Index: ArraySerializer.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/java/src/org/apache/axis/encoding/ser/ArraySerializer.java,v
  retrieving revision 1.65
  retrieving revision 1.66
  diff -u -r1.65 -r1.66
  --- ArraySerializer.java	12 Apr 2005 22:18:15 -0000	1.65
  +++ ArraySerializer.java	27 Apr 2005 13:37:35 -0000	1.66
  @@ -146,6 +146,7 @@
               componentTypeQName = context.getCurrentXMLType();
               if (componentTypeQName != null) {
                   if ((componentTypeQName.equals(xmlType) ||
  +                     componentTypeQName.equals(Constants.XSD_ANYTYPE) ||
                        componentTypeQName.equals(soap.getArrayType()))) {
                            componentTypeQName = null;
                        }