
February 26th, 2010, 10:59 AM
|
|
Registered User
|
|
Join Date: Feb 2010
Posts: 2
Time spent in forums: 2 m 42 sec
Reputation Power: 0
|
|
|
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
|