什么是Web服务代理的定义? [英] what is definiion of web service Proxy?

查看:102
本文介绍了什么是Web服务代理的定义?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好。

i是Xml网络服务(C#)的初学者。

i知道代理类是从WSDL创建的。

可以是某人从概念上解释代理类的定义?

谢谢

hi there.
i am beginner to Xml web service (C#).
i know proxy class is created from WSDL.
can someone explain me the definition of proxy class conceptually?
thanks

推荐答案

默认情况下,代理类使用SOAP over HTTP与XML通信网络服务。但是,Wsdl.exe可以使用HTTP-GET协议或HTTP-POST协议生成与XML Web服务通信的代理类。



根据Microsoft的说法:要调用Web服务的方法,请调用生成的Web服务代理类的相应方法。生成的代理类对Web服务方法执行Web请求。



更多信息
By default, the proxy class uses SOAP over HTTP to communicate with the XML Web service. However, Wsdl.exe can generate proxy classes to communicate with an XML Web service, using either the HTTP-GET protocol or HTTP-POST protocol.

As according Microsoft: To invoke a method of a Web service, you call the corresponding method of the generated Web service proxy class. The generated proxy class executes a Web request to the Web service method.

for more info


您可以在以下链接中找到所有相关信息: -



http://msdn.microsoft.com/en-IN/library/ d2s8y7bs(v = vs.80).aspx [ ^ ]
you can find all about this in following link:-

http://msdn.microsoft.com/en-IN/library/d2s8y7bs(v=vs.80).aspx[^]


这篇关于什么是Web服务代理的定义?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆