Montse Farreras - Sun France - GSO - Stagiaire wrote: > > I've been following your discussion, I'm new on that, and I don't > undestand,.My problem is that I receive a SOAP response and the body is an > object, and I know which kind of object is it, I want to rebuild the object. > how I do? There are two possibilities: By default, kSOAP will generate SoapObjects from the response. If you want to have your own objects generated, you need to implement the KvmSerializable interface for these objects. You also need to register them with a DefaultClassMap. The DefaultClassMap holds the relations between XML names and namespaces and Java class names. The classmap must be registered with the SoapEnvelope. If you can send some example XML code, I can try to describe the process in more detail for your application. Best, Stefan -- Stefan Haustein Univ. Dortmund, FB 4, LS 8 tel: +49 231 755 2499 Baroper Str. 301 fax: +49 231 755 5105 D-44221 Dortmund (Germany) www-ai.cs.uni-dortmund.de |