-
-
Notifications
You must be signed in to change notification settings - Fork 75
How to use for synchronous requests
Danilo edited this page Jun 7, 2020
·
3 revisions
This framework includes the ability to manage a synchronized flow to make the code dependent on the function in which resides.
#import <SOAPEngine64/SOAPEngine.h>
NSError *error = nil;
SOAPEngine *soap = [[SOAPEngine alloc] init];
soap.responseHeader = YES; // use only for non standard MS-SOAP service like PHP
NSDictionary *dict = [soap syncRequestURL:@"http://www.my-web.com/my-service.amsx"
soapAction:@"http://tempuri.org/my-method" error:&error];
NSLog(@"error: %@, result: %@", error, dict)