I am using wsdl2objc generated stub to interact with my soap service, everything is fine when i run the app on a device running iOS 5.But when I run the same app on the simulator (iOS 6) i see that no request is sent (debugged using fiddler).
I tried by putting break points on the following code :
- (DeptServiceImplPortBindingResponse *)performSynchronousOperation:(DeptServiceImplPortBindingOperation *)operation
{
synchronousOperationComplete = NO;
[operation start];
// Now wait for response
NSRunLoop *theRL = [NSRunLoop currentRunLoop]; //breakpoint1
while (!synchronousOperationComplete && [theRL runMode:NSDefaultRunLoopMode beforeDate:[NSDate distantFuture]]); //breakpoint2
return operation.response; // breakpoint 3
}
The control never reaches breakpoint 3 that means that the synchronous operation did not complete.
Any inputs on how to go about solving the problem ? would be great help.
thanks
解决了它,问题出在https身份验证上,因为我在设备上安装了正在通过的证书。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.