Does iPhone support XML-RPC, Is their any open source framework which I can use?
Thanks in advance.
Does iPhone support XML-RPC, Is their any open source framework which I can use?
Thanks in advance.
Checkout the source for the wordpress app. They might be using XML-RPC. :)
"Airsource Ltd" is really really incredibly wrong about that document. That document is specific to Mac OS X and NOT the iPhone. In fact (almost) all Apple iPhone documentation is hidden away behind a login page and a licence agreement. Most of the technologies that document refer to (e.g. AppleScript) do not even exist on the iPhone.
Amit, you'll have Zero luck if you follow Airsource's advice. You will however do ok if you do as "Lounges" says and go grab the wordpress source code. It looks like they rolled their own XMLRPC library for use on the iPhone.
As for SOAP - you're on your own. You might be able to find an opensource SOAP library built on top of libxml2 though. Good luck.
After spending too much time in iPhone application development,now I can answer my own question, Yes iPhone support XML-RPC and wordpress opensource application is best example of it, but from performance aspect I must say JSON-RPC is better to use with iPhone application,
from here http://code.google.com/p/json-framework u can download that framework.
and best thing is we don't need to write any parser for that all that complexity handled by framework very efficiently.
and we all know JSON is also better then XML, when to transfer data over internet.
I heard that if you have control over the payload you could use a PLIST file as an array and retrieve it via NSArray method call. I haven't done it yet, but I might opt for this route since, using XMLRPC is giving me issues with malformed XML delcarations. :(
ok so thanks to this answer. I was able to clear out any "whitespaces" in my XMLRPC server (on wordpress) and retrieve my XMLRPC data onto the iPhone. YAY!
hi yes now you can communicate with wordpress with any device bacause now it support the xmlrpc for more details checkout http://codex.wordpress.org/XML-RPC_wp. That contails the list of method workout with wordpress from comment to image upload.for first you have to enable service with admin panel to setting->written.
have dream day
but how can we create the serverside end of the web service? thats what i want to know. im working on an iphone app that needs to post info and get info from a webservice. so i need to create that webservice backend first...