Shun87 / wsdl2objc

Automatically exported from code.google.com/p/wsdl2objc
MIT License
0 stars 0 forks source link

Error handling null values in an array #92

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Generate code for a service that will return an array of strings
2. Make the service include a null string among other strings
3. Consume the service from an iPhone app with code generated using WSDL2OBJC

What is the expected output?
The iPhone app gets the array with the null values in place

What do you see instead?
The iPhone app gets an array without the null values.

Original issue reported on code.google.com by nicolas....@gmail.com on 20 May 2010 at 3:29

GoogleCodeExporter commented 8 years ago
I've had this problem as well... and have tracked the problem to the libxml 
implementation on mac.

I'm not sure if a null character s valid or if libxml is bugged, but either way 
I've solved this by using a different encoding for binary data and limiting 
'strings' to legal alpha-numeric characters.

Original comment by lailo...@gmail.com on 17 Mar 2011 at 7:11