Re: Pass in a VO - user's defined object- and return an VO
Sunday, August 29, 2004 10:35 PM
Off course you can paas & receive Custom Objects but we have to tell AXIS how to handler them by registering them in following way, assuming you know its qualified name defined in wsdd etc. -
QName qname = new QName("PersonDetail","Person");
call.registerTypeMapping(your_package.Person,qname, org.spache.axis.encoding.ser.BeanSerializerFactory.class, org.spache.axis.encoding.ser.BeanDeserializerFactory.class);
Hope this helps.