本文介绍了Web引用和服务引用的区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Web引用和服务引用WCF之间的区别是什么?这是preferable在WCF?

What is the difference between web reference and service reference in WCF?Which is preferable in WCF?

推荐答案

这里的低级别的答案是,一个Web引用将创建一个客户端代理类,允许您的code去跟那个被描述Web服务通过WSDL并通过SOAP通信或HTTP GET(其他海报指出,这只是ASMX,而且Web引用也可以与基于Java的Web服务和基于Python或Ruby,只要他们都谈WSDL和符合WS-我的互操作性标准)。

The low-level answer here is that a Web Reference will create a client proxy class that allows your code to talk to a Web Service that is described via WSDL and communicates via SOAP or HTTP GET (other posters indicate that it is only ASMX, but Web References can also talk to Java-based Web Services or Python-based or Ruby so long as they all talk WSDL and conform to the WS-I interoperability standard).

一个服务引用将创建一个基于WCF服务通信的客户端代理类:不管是WCF服务是否是Web服务或不

A Service Reference will create a client proxy class that communicates with a WCF-based service : regardless of whether that WCF service is a Web Service or not.

这篇关于Web引用和服务引用的区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-04 08:53