我正在使用sudzc来调用call服务。一切都很顺利,他打印了我得到的整个soap xml结果,但在调用method: handler方法之前,我得到了这个错误消息:(您还可以看到证明他关闭了soap信封,所以我得到了我想要的,但他不想完成它)
..。
</SynGETResponse></soap:Body></soap:Envelope>
2010-12-08 17:43:34.656 SudzCExamples[761:207] +[NSMutableArray newWithNode:]: unrecognized selector sent to class 0x26c4bdc
2010-12-08 17:43:34.658 SudzCExamples[761:207] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '+[NSMutableArray newWithNode:]: unrecognized selector sent to class 0x26c4bdc'
*** Call stack at first throw:
(
0 CoreFoundation 0x0265bb99 __exceptionPreprocess + 185
1 libobjc.A.dylib 0x027ab40e objc_exception_throw + 47
2 CoreFoundation 0x0265d76b +[NSObject(NSObject) doesNotRecognizeSelector:] + 187
3 CoreFoundation 0x025cd2b6 ___forwarding___ + 966
4 CoreFoundation 0x025cce72 _CF_forwarding_prep_0 + 50
5 SudzCExamples 0x000023da -[SDZArrayOfArrayOfKnoop initWithNode:] + 297
6 SudzCExamples 0x0001a79d -[SoapRequest connectionDidFinishLoading:] + 985
7 Foundation 0x001c6b96 -[NSURLConnection(NSURLConnectionReallyInternal) sendDidFinishLoading] + 108
8 Foundation 0x001c6aef _NSURLConnectionDidFinishLoading + 133
9 CFNetwork 0x02aeb72f _ZN19URLConnectionClient23_clientDidFinishLoadingEPNS_26ClientConnectionEventQueueE + 285
10 CFNetwork 0x02bb6fcf _ZN19URLConnectionClient26ClientConnectionEventQueue33processAllEventsAndConsumePayloadEP20XConnectionEventInfoI12XClientEvent18XClientEventParamsEl + 389
11 CFNetwork 0x02ae0968 _ZN19URLConnectionClient13processEventsEv + 100
12 CFNetwork 0x02ae07e5 _ZN17MultiplexerSource7performEv + 251
13 CoreFoundation 0x0263cfaf __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 15
14 CoreFoundation 0x0259b39b __CFRunLoopDoSources0 + 571
15 CoreFoundation 0x0259a896 __CFRunLoopRun + 470
16 CoreFoundation 0x0259a350 CFRunLoopRunSpecific + 208
17 CoreFoundation 0x0259a271 CFRunLoopRunInMode + 97
18 GraphicsServices 0x02dae00c GSEventRunModal + 217
19 GraphicsServices 0x02dae0d1 GSEventRun + 115
20 UIKit 0x00433af2 UIApplicationMain + 1160
21 SudzCExamples 0x00001e12 main + 104
22 SudzCExamples 0x00001da1 start + 53
23 ??? 0x00000001 0x0 + 1我应该在哪里看?请帮帮我。
发布于 2010-12-10 00:12:06
不知道为什么,但它看起来你有错误的类型。
如果对生成的/Soap目录中的源代码进行grep,您将看到
+ (id) newWithNode: (CXMLNode*) node是在几个文件中定义的,所以生成的/Soap/SoapArray.h很可能就是预期生成的文件。
我会尝试直接联系sudzc.com,发布您的WSDL,并礼貌地请求帮助。
https://stackoverflow.com/questions/4390023
复制相似问题