Greetings,

My ERRest implementation of an APN Server app is about to go live (as is the 
iPad app it supports), but I have been asked to see if I could have ERRest 
return errors as json rather than the default (which appears to be xml).

iOS apps are parsing the json returned when registering new devices via the 
server, but if there is a problem it returns xml and not json, so the parser 
crashes.  We don't want to have to use an xml parser and try and handle when 
xml instead of json is returned, so I was wondering if there was some 
ERRest-friendly way to have the errors return json (with a key errorString or 
something like that).

I can probably hack my way around it, and have not seen an obvious solution, so 
I thought I'd ask if I missed something.

Andrew

PS:  Wonder from about 2-3 weeks ago or sooner, Java 1.6, WO 5.4.3 and the 
server is a CentOS based VM.
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to