从更新wsdl文件asp.net web服务的参考?

问题描述:

是否有可能在asp.net更新或创建一个WSDL文件在我们的本地驱动器的Web服务引用?
如果是这样,请你形容呢?

Is it possible in asp.net to update or create a web service reference from a wsdl file on our local drives? If so, could you please describe it ?

请按照下列步骤操作:


  1. 打开解决方案 / 项目的Visual Studio

右键点击解决方案管理器对您要添加Web引用项目。

Right Click on Solution Explorer on the project for which you want to add web reference.

选择添加服务引用。 (这将打开一个的添加服务引用的对话框。)

Select Add Service Reference. (This will open a Add Service Reference dialogue box.)

点击高级... 按钮位于对话框的底部。 (这将打开另一个名为对话框的服务参考设置的。)

Click on Advanced... button located at bottom of the dialogue box. (This will open another dialogue box named Service Reference Settings.)

点击添加位于对话框底部Web引用按钮。 (同样的对话框的添加Web引用的将会出现。)

Click on Add Web Reference button located at bottom of the dialogue box. (Again a dialogue box Add Web Reference would appear.)

输入的的复制和放大器;从本地驱动器作为 URL粘贴为 WSDL 文件完整路径

Enter OR Copy & Paste full path for the WSDL file from your local drive as the URL.

点击开始除了网​​址框按钮。

修改 Web引用名称如果你想。

点击添加引用

和你做。