Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/objective-c/22.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Objective c 如何在iOS中处理SudzC中webservice方法引发的异常_Objective C_Ios_Web Services - Fatal编程技术网

Objective c 如何在iOS中处理SudzC中webservice方法引发的异常

Objective c 如何在iOS中处理SudzC中webservice方法引发的异常,objective-c,ios,web-services,Objective C,Ios,Web Services,我正在使用WebServices,并在iOS应用程序中使用SudzC lib。WSDL中的某些方法会抛出异常。如何处理它们?您是否尝试过使用委托方法、onfault和onerror,wsdl中定义了一些异常类型。和SudzC为该异常类型生成obj-c类。但我无法在onfault和onerror中获得生成的异常类

我正在使用WebServices,并在iOS应用程序中使用SudzC lib。WSDL中的某些方法会抛出异常。如何处理它们?

您是否尝试过使用委托方法、onfault和onerror,wsdl中定义了一些异常类型。和SudzC为该异常类型生成obj-c类。但我无法在onfault和onerror中获得生成的异常类