I have web services and I want to save that data in SQLite in iPhone and also want to retrieve that data. Web services include 14 parameters, also includes image URL as well. Web service is SOAP in .NET.
Please help me and provide me with the complete code how to do that.
Webservices may be in Java, PHP, .NET and etc... But you have to use same procedure to make a request. Here I have given sample code to make a request and get the response from webservices.
In this example, "webData"(NSData) having the response data. The request should be in XML format and also the response data will be in XML format. Using NSXMLParser you can parse the data. There is some delegate methods. You have to use below specified methods;
in 2nd delegate method, you will get the element name (xml tag name). in 3rd delegate method, you will get the value for the element name.
I hope, it will help you.