简体   繁体   English

wsdl2objc在ios 6.0模拟器上不起作用,但在ios 5设备上起作用

[英]wsdl2objc is not working on ios 6.0 simulator but works on ios 5 device

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). 我正在使用wsdl2objc生成的存根与我的肥皂服务进行交互,当我在运行iOS 5的设备上运行该应用程序时一切正常,但是当我在模拟器(iOS 6)上运行同一应用程序时,我看到没有发送请求(使用提琴手调试)。

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. 控制永远不会到达断点3,这意味着同步操作未完成。

Any inputs on how to go about solving the problem ? 关于如何解决问题有什么投入吗? would be great help. 将会有很大的帮助。

thanks 谢谢

解决了它,问题出在https身份验证上,因为我在设备上安装了正在通过的证书。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM