I am developing an iOS application that uses web services (SOAP / WSDL). I built it as follows: I create my message for soap manually (using soapui), and I call it this way:
NSData *xmlData = // a method to construct my soap xml (my xml is in resources folder of my application which I have generated with soapui) NSURL *url = [NSURL URLWithString:@"https:myUrlWSDL"]; self.currentRequest = [ASIFormDataRequest requestWithURL:url]; [self.currentRequest appendPostData:xmlData]; [self.currentRequest setDelegate:self]; [self.currentRequest startAsynchronous];
This works great.
My question is: why do other programmers use soap clients like gSoap to call their web services? Why don't they use something simple as I described? (this is not mine) Why are there so many clients and utilities for soap?
Thank you for your responses.
samir source share