开发者

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开发者_Go百科 a lot.


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.


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜