Hi,
I know this question has been asked here before, but I don't think those answers were adequate for my needs.
We have a SOAP webservice that is used for an iPhone application, but it is possible that we need an Android specific version or a proxy of the service, so we have the option to go with either SOAP or JSON. I have a few concerns about both methods:
SOAP solution:
- Is it possible to generate java source code from a WSDL file, if so, will it include some kind of proxy class to invoke the webservice and will it work in the Android environment at all?
- Google has not provided any SOAP library in Android, so i need to use 3rd party, any suggestion?
- What about the performance/overhead with parsing and transmitting SOAP xml over the wire versus the JSON solution?
JSON solution:
- There is a few classes in the Android sdk that will let me parse JSON, but does it support generic parsing, like if I want the result to be parsed as a complex type? Or would I need to implement that myself?
- I have read about 2 libraries before here on Stackoverflow, GSON an Jackson. What is the difference performance and usability (from a developers perspective) wise? Do you guys have any experince with either of those libraries?
So i guess the big question is, what method to go with?
I hope you can help me out. Thanks in advance :-)