开发者

Android; how can you invoke a SOAP web service without using ksoap?

开发者 https://www.devze.com 2023-01-19 18:43 出处:网络
I\'m not asking to be spoon fed here, just need some pointers on where to direct my searching I want to call a SOAP web service, possibly this one

I'm not asking to be spoon fed here, just need some pointers on where to direct my searching

I want to call a SOAP web service, possibly this one

I don't want to use KSoap, is there anyw开发者_如何学Pythonay I can do this using the apache libraries that are included with the Android SDK?


I want to call a SOAP web service, possibly this one

That does not look like a SOAP Web service. Try clicking that link in a browser, and you will see it is a plain XML document.

is there anyway I can do this using the apache libraries that are included with the Android SDK?

Yes. For true SOAP, plan to spend a substantial amount of time writing your own SOAP layer atop HttpClient. However, for consuming a simple XML document like the one you link to above, it should be fairly simple.


I think the XML is not WebService, it is simple XML... To call WebService with SOAP you can use kSOAP2 on Android platform, but I've created an another - proof-of-concept - SOAP client: http://wiki.javaforum.hu/display/ANDROIDSOAP/Home

0

精彩评论

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