下载 WCF 服务公开的所有 WSDL 文件的最佳方法是什么? [英] What is the best way to download all of the WSDL files exposed by a WCF service?

查看:15
本文介绍了下载 WCF 服务公开的所有 WSDL 文件的最佳方法是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

下载 WCF 服务公开的所有 WSDL 文件的最佳方法是什么?

What is the best way to download all of the WSDL files exposed by a WCF service?

例如,根 WSDL 文件引用以下其他 WSDL 文件:

For example, the root WSDL file references the following other WSDL files:

<xsd:import schemaLocation="http://localhost:80/?xsd=xsd0" namespace="http://tempuri.com"/>
<xsd:import schemaLocation="http://localhost:80/?xsd=xsd1" namespace="http://tempuri.com"/>

理想情况下,可以自动下载,以便每次 WSDL 更改时都可以轻松地将文件分发给客户或合并到文档/SDK 中.

Ideally it would be possible to automate the download so that every time the WSDL changes it would be easy to distribute the files to a customer or incorporate into a document/SDK.

推荐答案

看起来微软提供了 Disco.exe 用于执行此操作.

It looks like Microsoft provide Disco.exe for doing this.

这篇关于下载 WCF 服务公开的所有 WSDL 文件的最佳方法是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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