axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject cvs commit: ws-axis/java/src/org/apache/axis/encoding TypeMappingRegistryImpl.java
Date Sun, 23 Jan 2005 23:11:00 GMT
dims        2005/01/23 15:11:00

  Modified:    java/src/org/apache/axis/encoding
                        TypeMappingRegistryImpl.java
  Log:
  Bad News: Ugly Hack!!! Need to fix as part of Glen/Tom's review of my code modifications.
  Good News: "ant clean all-tests" works now and back to where we were for TCK status.
  
  Revision  Changes    Path
  1.29      +6 -1      ws-axis/java/src/org/apache/axis/encoding/TypeMappingRegistryImpl.java
  
  Index: TypeMappingRegistryImpl.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/java/src/org/apache/axis/encoding/TypeMappingRegistryImpl.java,v
  retrieving revision 1.28
  retrieving revision 1.29
  diff -u -r1.28 -r1.29
  --- TypeMappingRegistryImpl.java	22 Jan 2005 20:38:39 -0000	1.28
  +++ TypeMappingRegistryImpl.java	23 Jan 2005 23:11:00 -0000	1.29
  @@ -136,7 +136,12 @@
        */ 
       public TypeMappingRegistryImpl(TypeMapping tm) {
           mapTM = new HashMap();
  -        defaultDelTM = new TypeMappingDelegate(tm);
  +        // TODO: HACK ALERT!!!! need this to get test/wsdl/schema2 working  
  +        if(tm instanceof DefaultJAXRPC11TypeMappingImpl){
  +            defaultDelTM = tm;
  +        } else {
  +            defaultDelTM = new TypeMappingDelegate(tm);
  +        }
           register(Constants.URI_SOAP11_ENC, new DefaultSOAPEncodingTypeMappingImpl());
       }
   
  
  
  

Mime
View raw message