XML/SOAP attributes for a complextype in kSOAP

Posted by Soumya on Stack Overflow See other posts from Stack Overflow or by Soumya
Published on 2010-05-04T03:50:42Z Indexed on 2010/05/04 3:58 UTC
Read the original article Hit count: 664

Filed under:
|
|
|
|

Hi,

I'm trying to parse a SOAP response that contains nested ComplexTypes using the kSOAP library on Android 2.1.

<event att1="value1" att2="value2" att3="value3"> 
   <tag2> ... </tag2>
   <tag3> ... </tag3>
</event>

I've implemented my own class Event that implements org.ksoap2.serialization.KvmSerializable to parse this response.

It is not clear to me if and how I can parse the attributes (att1, att2 and att3) of the event node. Is it even possible with the current kSOAP implementation?

Thanks.

© Stack Overflow or respective owner

Related posts about ksoap

Related posts about android