tags:

views:

166

answers:

2

I'm appalled by the apparent lack of support for calling SOAP web services in Android. I've looked at ksoap2 libraries but getting them to work is like rocket science. Is there a way out? Has anyone got it working 100%?

Clearly, Google is not targeting Android as a business app platform. Good for tic-tac-toe and tiny little feel good apps.

A: 
Christopher
iPhone has support for SOAP. And SOAP API is one of the ways to talk to web services which is what most financial enterprises use. REST is not as widespread in what I've seen.But widespread or not, forcing developers to go one way seems a limitation.Try integrating ksoap2 yourself. It simply doesn't work. Too many problems and you can google them.
Mrchief
I understand that enterprise apps are built upon SOAP, but often it's a good idea or there's an existing bridge (whether using REST or not) to provide a simplified, more mobile-friendly interface. Nobody is forcing you to use that though. Anyway, if you actually want to get things running on Android rather than just being defeatist, then you need to post specific information about what you've tried and where you're running into problems. If you're coming up against genuine bugs, then you need to file them with the ksoap2 project.
Christopher
A: 

The AndroidSOAP is "yet another" SOAP client for Android platform, it is compatible with 1.5+ versions, but... this is only a proof-of-concept library, I've tested it with JBoss WebService stack. Using AndroidSOAP is a very easy way to call a SOAP service, because it is based on JAX-WS interfaces. You can use all interfaces that the 'wsimport' generates from the WSDL:

http://wiki.javaforum.hu/display/ANDROIDSOAP/Home

Gábor Auth