我提供了通过WCF Web服务的远程工具到其他网站。现在,我想提供相同的远程工具,Android应用程序。我的问题是:Android应用程序可以消耗我的WCF Web服务(托管网络服务器上),或者我需要改变某些事情了。
I provide a remote tool to other websites through web service in WCF. Now I want to provide same remote tool to Android Apps. My question is: Can Android apps consume my WCF web services (hosted on webserver) or do I need to change something.
您有WCF服务,你希望从Android应用程序使用它。首先你的服务必须是可互操作。在Android客户端的情况下,你应该使用 basicHttpBinding的
(SOAP服务)或的WebHttpBinding
(REST服务)。
You have WCF service and you want to consume it from Android application. First of all your service must be interoperable. In case of Android client you should use either basicHttpBinding
(SOAP service) or webHttpBinding
(REST service).