Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

deepak832

macrumors newbie
Original poster
Jun 26, 2008
28
0
Hello Everyone,
I am a new developer in iphone application development. I am trying to create an application, in that i like to use xmlrpc framework, but i can't able to use that, means i can't understand the flow of use, how to make request and get response using xmlrpc request-response classes.

some sample code is like :

XMLRPCRequest *request = [[XMLRPCRequest alloc]initWithHost:[NSURL URLWithString:FeedURL]];

[request setMethod: @"getNumberofCategories" withObjects:mad:"data"];
// //[request setMethod: @"getNumberofCategories" setParameter: @"Hello World!"];
[request setUserAgent: @"Umundo Mobile"];

XMLRPCConnection *connection = [[XMLRPCConnection alloc]
initWithXMLRPCRequest: request delegate: self];

but my code is not able to create any connection by the above code.

any one can please help me in that , how can i use xml-rpc class to make request and get response.


Thanks in advance.
Vicky
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.