简体   繁体   中英

Accessing C++ web service in Android application

How can I access Web service which is written in C++ in creating Android App which is being developed in Java. I read some example about using ksoap2. But just wondering that URL and soapAction are enough OR do I need any special access class to cosume the web Service which is written in C++ (using SOAP protocol)

As you are using SOAP protocol it does mot matter which language is written server in when you are implementing client.

Everithing you need is to perpare request, send it to desired url and receive response.

But you can also use web service consumer tier which would encapsulate low-level operations (request generation, http oerations, response parsing, error processing, etc)
And that is much prefferable way :) .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM