如何生成,只有物理wsdl文件服务引用 [英] How to generate service reference with only physical wsdl file

查看:96
本文介绍了如何生成,只有物理wsdl文件服务引用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在创造和多年使用Web服务,总是已经能够使用Visual Studio创建从客户端的服务引用。我有我需要使用的第三方服务,他们拒绝打开他们的安全,所以我可以看到WSDL,使服务引用。这是一个面向公众的服务,所以我不认为有必要保障该级别,但它是什么了。

I have been creating and consuming web services for years and always have been able to use Visual Studio to create a service reference from the client. I have a third party service I need to work with and they refuse to open their security so I can see the wsdl and make the service reference. It's a public facing service so I don't see the need for that level of security but it is what it is.

我知道这是一个的n00b问题,我很惭愧地会问它,但我怎么创建我的客户端相当于服务参考信息时,所有我必须提供给我的是WSDL的客户端的物理副本给我发电子邮件?在Web.config的变化,在SOAP数据对象层,等等。就像有一个自动化服务引用我只是想打开该服务的连接,并开始使用它与定义的对象。

I know this is a n00b question and I'm ashamed to be asking it, but how do I do create the equivalent Service Reference information in my client when all I have available to me is a physical copy of the wsdl the client emailed me? The web.config changes, the object layer over the SOAP data, etc. Just like with an automated Service Reference I just want to open a connection to the service and start using it with the defined objects.

第三方服务不WCF,据我可以告诉,但SOAP。我使用VS 2010的BTW。 提前致谢, 肯

The third party service is not WCF as far as I can tell but is SOAP. I'm using VS 2010 btw. Thanks in advance, Ken

推荐答案

发布到其他的问题,认为这可能是适当的,更简单的方法。

Posted this for another question, thought this might be appropriate and easier way.

  • 右键单击该项目并选择添加服务引用...
  • 在地址:框中,输入物理路径(C:\测试\工程....)。下载/修改的WSDL的
  • 砸去

这篇关于如何生成,只有物理wsdl文件服务引用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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