Fabrizio, mi scusi, man non parlo o scritto l'italiano bene. If you look at some of the recent discussion on the axis-user list, you'll see some recommendations such as: 1- stay away from custom collections (such as Hashtable) in web services interfaces 2- define your WSDL first, primo. Before providing the implementation. Provide your implementation after running WSDL2Java.
Despite this, someone on this list may be able to help you if you wish to ignore recommendation #1. -Dino -----Original Message----- From: fabrizio picca [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 01, 2005 12:36 PM To: axis-user@ws.apache.org Subject: newbie: serializing deserializing nested custom object This is my first post, i'm new to axis, so excuse the eventual oddness of this question. i wanna call a remote service like this setTrigger(hashtable triggerMap,String urlRef,String ipRef) The hashtable triggerMap contains Trigger custom objects. Those Triggers are made of String and another custom object : Event. Event,in the end is made up of two strings and the last custom Object: Parameter which contains only strings. following the example found in axis documentation i've wrote down this: QName qnT = new QName( endpoint , "Trigger" ); QName qnP = new QName( endpoint , "Parameter" ); QName qnE = new QName( endpoint , "Event" ); call.registerTypeMapping(Parameter.class, qnP, new org.apache.axis.encoding.ser.BeanSerializerFactory(Parameter.class, qnP), new org.apache.axis.encoding.ser.BeanDeserializerFactory(Parameter.class, qnP)); call.registerTypeMapping(Event.class, qnE, new org.apache.axis.encoding.ser.BeanSerializerFactory(Event.class, qnE), new org.apache.axis.encoding.ser.BeanDeserializerFactory(Event.class, qnE)); call.registerTypeMapping(Trigger.class, qnT, new org.apache.axis.encoding.ser.BeanSerializerFactory(Trigger.class , qnT), new org.apache.axis.encoding.ser.BeanDeserializerFactory(Trigger.class, qnT)); But all i can obtain is an Exception like: No Deserializer for {[endpoint]}Trigger. I hope i was quite clear in explanation. Tanks a lot. Fabrizio