Paul E.
Paul E.

Reputation: 2009

SOAP client for Android

I have faced up to building SOAP client for Android. I found out there is a ksoap2 lib from some posts, for example. But there is SAAJ (SOAP with Attachments API for Java) as well.

My question is: is it possible to use it? Has anyone ever tried SAAJ for Android apps?

Thx a lot.

Upvotes: 0

Views: 1546

Answers (2)

nick
nick

Reputation: 2853

No, you can't use SAAJ for android unfortunately. It relies on the javax.xml package, which android won't work with.

Upvotes: 0

helios
helios

Reputation: 2821

If the WSDL for your target service is not that complicated you should check out httpclient bundled with Android core libraries. It's trivial to use. You can trap request/response through SoapUI or Fiddler and then use them as base XML templates within your client.

Upvotes: 1

Related Questions