axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Geza.Sz...@nokia.com>
Subject RE: Serialization / deserialization problem
Date Thu, 30 May 2002 11:29:13 GMT

Did you write your client using WSDL2Java ? 
I assume that you have to insert the same type mapping
thing in your client code as well. From the client code
you need to do the following: 


        QName qn2 = new QName("http://hello.org/types","TableType");
        call.registerTypeMapping(TableType.class, qn2,
                      new org.apache.axis.encoding.ser.BeanSerializerFactory(TableType.class,
qn2),
                      new org.apache.axis.encoding.ser.BeanDeserializerFactory(TableType.class,
qn2));


Where tabletype is some custom bean that you have. 

Mime
View raw message