在c#中创建一个Web服务客户端。 [英] making a web service client in c# .

查看:120
本文介绍了在c#中创建一个Web服务客户端。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在visual studio中创建一个Web服务windows窗体客户端,但我无法在intellisence中看到MyWebServiceSoapClient方法,会出现什么错误?



谢谢大家!

I wanna make a web service windows forms client in visual studio but I can't see the "MyWebServiceSoapClient" method in intellisence , what would be the error ?

Thanks guys !

推荐答案

首先需要为服务添加一个Web引用并生成一个代理类。

这可以是用于初始化客户端。
You first need to add a web-reference to the service and generate a proxy class.
This can be used to initialize the client.


这篇关于在c#中创建一个Web服务客户端。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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