Helpful Information
Home
Categories
Contact us
Category: iPhone SDK Development
Consuming Web Service on the iPhone
Hi,
I have created an application which has a TableView on it, I'm currently populating this with some values from an Array.
Such as:
- (void)viewDidLoad {
NSDictionary *row1 = [[NSDictionary alloc] initWithObjectsAndKeys:@"Macbook", @"Number", @"White",@"Description",nil];
NSDictionary *row2 = [[NSDictionary alloc] initWithObjectsAndKeys:@"Macbook", @"Number", @"White",@"Description",nil];
NSArray *array = [[NSArray alloc] initWithObjects:row1, row2, nil];
self.listData = array;
[row1 release];
[row2 release];
[array release];
[super viewDidLoad];
}
I would now like to consume a web service I have, either with SOAP or HTTP GET/POST.
I would like to store values from the returned XML in the array.
Can anyone advise how I can go about this?
Thank you!
Nick
Hey How are you connecting the web service through Iphone. Can you please help me with the same, I am trying to connect to SQL server through Iphone
privacy (GDPR)