The sudzc generated stub is:
(void)HandleSearchResult: (id) value { ...
The document indicates that “value” can be cast into (SDZSearchItemsByUpcResponse *). However that was not true.
In XCode, the type of “value” appears to be __NSCFDictionary.
__NSCFDictionaryis a concrete subclass of eitherNSDictionaryorNSMutableDictionary. Handle like so:I would skip SudzC and use
CWXMLTranslatorfrom https://github.com/jayway/CWFoundation. It allows you to ignore most of the cruft in SOAP XML responses, and translates directly to proper domain objects, not dictionaries and other placeholders.