The AndroidSOAP is a "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 SOAP services, because it is based on JAX-WS interfaces. You can use all interfaces that the 'wsimport' generates from the WSDL.


  * Creates a request, it is a JAX-WS generated class
 ListSkinPacksRequest request = new ListSkinPacksRequest();

  * Put it into a 'request' map
 Map<String, Object> parameters = new HashMap<String, Object>();
 parameters.put("request", request);

  * Create an envelope with namespace and create a body with operation name 'listSkinPacks'
 Envelope envelope = new SimpleEnvelope("");
 envelope.setHeader(new SimpleHeader());
 envelope.setBody(new SimpleBody("listSkinPacks", parameters));

  * Creates a transport (HTTP or HTTPS) with an optional username/password
 HttpsTransport transport = new HttpsTransport("",
     "", "demopassword");
  * Set the 'trust all' flag, if necessary

  * Call a service, the result arrives into the JAX-WS class
 ListSkinPacksResponse response =, ListSkinPacksResponse.class);

  * You can use the result as a normal bean
 for (SkinPackMetadata metadata : response.getReturn().getSkinPacksList())
   String fileName = metadata.getFileName();
   String name = metadata.getName();

Can you see? The lists are lists, the classes are classes, the values are in the properties, just like in the JAX-WX client... (smile)

If any field has XmlElement annotation in the generated source, you need add jaxb-api into your Android project, like this:


And add coreLibrary into theĀ configuration of the android-maven-plugin:






Example APK:


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... (smile)

If you need a feature, create an issue... (smile)

If I'm not using Maven?

The entire project (with dependencies) managed by Maven, if you aren't using Maven, you need some jars to add your project's CLASSPATH:

Example screenshot