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

Re: Ksoap: Sending and receiving Elements


Daniel Feygin wrote:
> 
> Stefan,
> 
> Thank you for your response.  I extended SoapEnvelope per your suggestion,
> but I also need a way of parsing the server's XML response and getting it
> out of a SoapEnvelope.  Both request and response can be arbitrary XML
> elements, so I need a generic method for sending and receiving them.  Are
> kXML and kSOAP presently capable of handling this requirement?

Yes, for receiving arbitrary XML elements, exend the
parseBody method of the SoapEnvelope. You will need to create
an Node object and call its parse method with the XmlParser
handed to the parseBody method. The parsed Node object provides 
access to the kDOM read.

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