怎么连接一个WebService接口
期待
--------------------编程问答--------------------
拿到 WebService 的url 即wsdl,然后在本工程的Services Reference添加引用(输入url)
生成本地代理。中间有一步让你输入本地代理的namespace。
然后你就可以像调用本地对象一样调用WebService了。
namespace.服务名 client = new namespace.服务名Client();
var result = client.接口();
--------------------编程问答--------------------
+++
--------------------编程问答--------------------
正解。同意,不过好像又发现机制吧,指定rul
--------------------编程问答--------------------
此乃正解
--------------------编程问答--------------------
--------------------编程问答--------------------
支持。
--------------------编程问答--------------------
--------------------编程问答--------------------
GOOD
补充:.NET技术 , Web Services