-
-
Notifications
You must be signed in to change notification settings - Fork 75
Closed
Labels
Description
when i use
// TODO: your user object
MyClass *myObject = [[MyClass alloc] init];
myObject.userStyle = @"GK";
myObject.loginName = @"17839987221";
myObject.passWord = @"111111";
soap = [[SOAPEngine alloc] init];
soap.userAgent = @"SOAPEngine";
// service url with WSDL, and operation (method name) without tempuri
[soap requestWSDL:@"http://58.57.6.222:9000/CKWebServer/CKWebService/AllinOne?wsdl"
operation:@"checkRole"
value:myObject
completeWithDictionary:^(NSInteger statusCode, NSDictionary *dict) {
NSLog(@"Result: %@", dict);
} failWithError:^(NSError *error) {
NSLog(@"%@", error);
}];
I got
2015-09-04 19:31:51.265 SOAPEngine Sample[28544:821731] Initializing SOAPEngine '1.21.1'
2015-09-04 19:31:51.558 SOAPEngine Sample[28544:821731] SOAPEngine Server response: Unexpected wrapper element checkRole found. Expected {http://webservice.ck/}checkRole.
2015-09-04 19:31:51.559 SOAPEngine Sample[28544:821731] Error Domain=NSOSStatusErrorDomain Code=0 "Unexpected wrapper element checkRole found. Expected {http://webservice.ck/}checkRole." UserInfo=0x7fb4134cbc30 {NSLocalizedDescription=Unexpected wrapper element checkRole found. Expected {http://webservice.ck/}checkRole.}