How Can I access WCF services using a Web Reference?

℡╲_俬逩灬. 提交于 2019-12-08 04:32:46

问题


What WCF configuration settings makes WCF service, so that I can access as old ASMX web services? How can I authenticate using Authentication header what I used in Old ASMX web services?


回答1:


Just use basicHttpBinding

Here is an example of the configuration:

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




回答2:


Check this out : ASMX to WCF migration



来源:https://stackoverflow.com/questions/1661340/how-can-i-access-wcf-services-using-a-web-reference

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!