How to consume WCF .SVC in Android

后端 未结 2 1716
庸人自扰
庸人自扰 2021-02-11 01:46

i red a lot of documents about, but i can\'t consume this .svc file. I\'ve no problem with .ASMX file. Only SVC i\'m not able to consume. It\'s very very very stressfull....! I

2条回答
  •  星月不相逢
    2021-02-11 02:13

    Do you have control over WCF part?

    The easiest way will be to update WCF bingding. Currently it is WSHttpBinding, That binding is way more complicated than *.asmx.

    Check if it is possible to publish endpoint with basicHttpBinding binding.

    http://msdn.microsoft.com/en-us/library/ms731361.aspx

    That binding is compatible with *.asmx and you only will need to update URL in your java code to consume it.

提交回复
热议问题