2

I am extracting data from web service(xml file) using NSXmlParser.How can I write to that xml file.I want to actually perform update ,insert and delete operations on that web service

Ketan Shinde
  • 1,847
  • 4
  • 18
  • 38

2 Answers2

2

This post is written after reading your comment on the Question.

You need to understand how to upload data from iPhone to server, for that please see this link:

File Upload to HTTP server in iphone programming

mainly you will need to use:

NSURLConnection sendSynchronousRequest

Let me know if you need any further help.

Community
  • 1
  • 1
Ahmad Kayyali
  • 8,233
  • 13
  • 49
  • 83
  • I want to synchronize data using web service. I got the data and works fine in tableview. But my problem is that, when I put addtocart value '1' and submit, it also update value in server or website using webservice. I am getting data it works fine. But not updated on web server when i click on addtocart. Thanks – Gajendra K Chauhan Jul 08 '13 at 05:35
0

You should create a ResponseXML and modify the data inside.

You will send this xml through a webservice that saves it online (probably another webservice seen that the one you are using seems to only send and not receive data)

Stefan Ticu
  • 2,093
  • 1
  • 12
  • 21
  • I want to post data to webserver and update user data(Addtocart) using web service. I got all data using webservice but not update on server when i click on add to cart.any idea? – Gajendra K Chauhan Jul 08 '13 at 05:38