[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Ksoap: Sending and receiving Elements / kSOAP and kXML updates


Montse Farreras - Sun France - GSO - Stagiaire wrote:
> 
> SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";>
> <return xmlns:ns2="urn:xml-soap-address-demo"
> xsi:type="ns2:phone">
> 
> and my object is called Phone and it's implementing the kvmSerializable,
> and to set the class map I do:
> 
> classMap.setMapping("urn:sml-soap-address-demo",,"the pakage"," and the instance
> of Phone");

Please use

   classMap.setMapping ("urn:sml-soap-address-demo", "phone", Phone.class)


It may be possible that you need to download 
the latest version (0.8) in order to register 
your class the way described above. 

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