5 Replies Latest reply: May 17, 2013 5:49 AM by gimbal2 RSS

    call web serivce, deserialize and store in collection

    974907
      hi,
      im basically a Dot net developer. now im working on one Android project. my requirement is,

      1. I have to call a web service, that will return XML data as String.
      2. I have to read that XML string data.
      3. Store those xml data into class collection(Collection is C# word, i dont know how here calling)

      #1 i have done, #2 & #3 is pending. I knew reading xml is using SAX parser but, i dont know how to read from String using SAX.?
      Then how to store those XML data into a collection object.?

      i tried with this link http://javarevisited.blogspot.in/2011/12/parse-read-xml-file-java-sax-parser.html but, its confusing bcos, im writing code Activity class but, there explaing with some Void Main class.

      so, experts please help me with some samples.

      Edited by: 971904 on May 16, 2013 8:41 PM