I'm working with an API generated with SudzC, I have a method which gets a response in XML and I'm trying to deserialize to an NSMutableDictionary.
This is the method to deserialize:
And when I get the value of the Soap response I cast it and try to show the keys in the console log:
The problem is that I'm getting this error:
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSDictionaryM lowercaseString]: unrecognized selector sent to instance 0x7277680'
I have tried to do the same but deserializing to a NSMutableArray and it works, so the problem must be in the deserialize method but I can't find it.