axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sc...@apache.org
Subject cvs commit: xml-axis/java/test/wsdl Wsdl2javaTestSuite.xml
Date Tue, 29 Jan 2002 22:34:04 GMT
scheu       02/01/29 14:34:04

  Modified:    java/src/org/apache/axis/encoding
                        DefaultTypeMappingImpl.java
               java/test/wsdl Wsdl2javaTestSuite.xml
  Log:
  Small interop fix for xsd:dateTime
  
  Revision  Changes    Path
  1.4       +7 -3      xml-axis/java/src/org/apache/axis/encoding/DefaultTypeMappingImpl.java
  
  Index: DefaultTypeMappingImpl.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/encoding/DefaultTypeMappingImpl.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- DefaultTypeMappingImpl.java	29 Jan 2002 21:31:38 -0000	1.3
  +++ DefaultTypeMappingImpl.java	29 Jan 2002 22:34:04 -0000	1.4
  @@ -142,15 +142,19 @@
                      new BeanDeserializerFactory(javax.xml.rpc.namespace.QName.class,
                                                  Constants.XSD_QNAME),true);
           myRegister(Constants.XSD_ANYTYPE,    java.lang.Object.class,     null, null, false);
  -        myRegister(Constants.XSD_DATE,       java.util.Date.class,                    
      
  -                   new DateSerializerFactory(java.util.Date.class,Constants.XSD_DATE),
  -                   new DateDeserializerFactory(java.util.Date.class,Constants.XSD_DATE),true);
  +
  +        // The xsd primitive for date has changed through the various namespace versions.
  +        // XSD_DATE is the current one, which is why it is registered after the other two
           myRegister(Constants.XSD_DATE2,      java.util.Date.class,                    
      
                      new DateSerializerFactory(java.util.Date.class, Constants.XSD_DATE2),
                      new DateDeserializerFactory(java.util.Date.class, Constants.XSD_DATE2),true);
           myRegister(Constants.XSD_DATE3,      java.util.Date.class,                    
      
                      new DateSerializerFactory(java.util.Date.class, Constants.XSD_DATE3),
                      new DateDeserializerFactory(java.util.Date.class, Constants.XSD_DATE3),true);
  +        myRegister(Constants.XSD_DATE,       java.util.Date.class,                    
      
  +                   new DateSerializerFactory(java.util.Date.class,Constants.XSD_DATE),
  +                   new DateDeserializerFactory(java.util.Date.class,Constants.XSD_DATE),true);
  +
           myRegister(Constants.XSD_BASE64,     byte[].class,                            
      
                      new Base64SerializerFactory(),
                      new Base64DeserializerFactory(),true);
  
  
  
  1.61      +1 -1      xml-axis/java/test/wsdl/Wsdl2javaTestSuite.xml
  
  Index: Wsdl2javaTestSuite.xml
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/test/wsdl/Wsdl2javaTestSuite.xml,v
  retrieving revision 1.60
  retrieving revision 1.61
  diff -u -r1.60 -r1.61
  --- Wsdl2javaTestSuite.xml	26 Jan 2002 14:40:51 -0000	1.60
  +++ Wsdl2javaTestSuite.xml	29 Jan 2002 22:34:04 -0000	1.61
  @@ -377,7 +377,7 @@
   
       <!-- This tests .NET document/literal WSDL.  -->
       <!-- <wsdl2java url="test/wsdl/literal/SalesRankNPrice.wsdl" -->
  -    <wsdl2java url="http://www.perfectxml.net/WebServices/SalesRankNPrice/BookService.asmx?WSDL"
  +    <wsdl2java url="http://www.perfectxml.net/WebServices/SalesRankNPrice/BookService.asmx?WSDL"

                  output="build/work"
                  verbose="no"
                  skeleton="no"
  
  
  

Mime
View raw message