The AndroidSOAP is "yet another" SOAP client for Android platform, it is compatible with 1.5+ versions and uses Reflection API.
But... this is only a proof-of-concept library, I've tested it with JBoss WebService stack, see and/or try the example.
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. Short example:
Can you see? The lists are lists, the classes are classes, the values are in the properties, just like in the JAX-WX client...
If any field has XmlElement annotation in the generated source, you need add jaxb into your Android project, like this:
And add coreLibrary into the configuration of the android-maven-plugin:
Step by step tutorial with Maven3 project: Step by Step Tutorial
Patches and feature requests?
If you have a patch, don't hesitate, send me as fast you can...
If you need a feature, create an issue...
If I'm not using Maven?
The entire project (with dependencies) managed by Maven3, if you aren't using Maven3, you need some jars to add your project's CLASSPATH:
- slf4j-android-1.6.1-RC1.jar or above
- commons-codec-1.3.jar exactly
- javaforum20-commons-1.0.2.jar or above
- AndroidSOAP-lib-0.0.5.jar or above
- validation-api-1.1.0.Alpha1.jar exactly