geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djen...@apache.org
Subject svn commit: r202477 - /geronimo/trunk/modules/axis/src/java/org/apache/geronimo/axis/client/SEIFactoryImpl.java
Date Thu, 30 Jun 2005 04:01:21 GMT
Author: djencks
Date: Wed Jun 29 21:01:17 2005
New Revision: 202477

URL: http://svn.apache.org/viewcvs?rev=202477&view=rev
Log:
it is essential to register the type descriptions before attempting to look them up when constructing
serializer/deserializers

Modified:
    geronimo/trunk/modules/axis/src/java/org/apache/geronimo/axis/client/SEIFactoryImpl.java

Modified: geronimo/trunk/modules/axis/src/java/org/apache/geronimo/axis/client/SEIFactoryImpl.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/modules/axis/src/java/org/apache/geronimo/axis/client/SEIFactoryImpl.java?rev=202477&r1=202476&r2=202477&view=diff
==============================================================================
--- geronimo/trunk/modules/axis/src/java/org/apache/geronimo/axis/client/SEIFactoryImpl.java
(original)
+++ geronimo/trunk/modules/axis/src/java/org/apache/geronimo/axis/client/SEIFactoryImpl.java
Wed Jun 29 21:01:17 2005
@@ -119,12 +119,12 @@
                 Constants.XSD_ANYURI,
                 new SimpleSerializerFactory(URI.class, Constants.XSD_ANYURI),
                 new SimpleDeserializerFactory(URI.class, Constants.XSD_ANYURI));
-
-        TypeInfo.register(typeInfo, typeMapping);
+        //It is essential that the types be registered before the typeInfos create the serializer/deserializers.
         for (Iterator iter = typeInfo.iterator(); iter.hasNext();) {
             TypeInfo info = (TypeInfo) iter.next();
             TypeDesc.registerTypeDescForClass(info.getClazz(), info.buildTypeDesc());
         }
+        TypeInfo.register(typeInfo, typeMapping);
     }
 
     public Remote createServiceEndpoint() throws ServiceException {



Mime
View raw message