Search code examples
iphoneobjective-cxmltcpfeed

Getting Xml problem from TCP/IP connection


I am working on an application where i have to get some feeds from the server. now when i start the application, i send a request for login and get schedule, in response it gives me a string "VALID" and then it gives me some xml for schedule. Now most of times it gives me the string in more then one response and also mix two xmls.

Infect it gives me some lines of an xml "CHANGES" and then start giving my required xml "SCHEDULE" and at the end it completes the "CHANGES" xml. I don't need "CHANGES" xml.

its look is like

<Changes>
<Schedule>
</Schedule>
</Changes>

So what should I do to get just "Schedule" xml?


Solution

  • I solved this problem by get all that responses on server side and then I bind them and then hosted them on a server and fetch that xmls with the help of a url