#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2010
    Posts
    2
    Rep 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
  2. #2
  3. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2010
    Posts
    2
    Rep Power
    0
    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

IMN logo majestic logo threadwatch logo seochat tools logo