首页 > Web开发 > 详细

ServiceModel Metadata Utility Tool (Svcutil.exe)

时间:2015-07-16 11:06:19      阅读:205      评论:0      收藏:0      [点我收藏+]

https://msdn.microsoft.com/zh-cn/library/aa347733.aspx

 

参数:

/directory:<directory>  

Directory to create files in. Default: The current directory.  

Short form: /d   缩写

 

 

How to: Use Svcutil.exe to Download Metadata Documents

To download metadata using Svcutil.exe

  1. Locate the Svcutil.exe tool at the following location:

    C:\Program Files\Microsoft SDKs\Windows\v1.0. \bin

  2. At the command prompt, launch the tool using the following format.

     
     
    svcutil.exe /t:metadata  <url>* | <epr>
    

    You must specify the /t:metadata option to download metadata. Otherwise, client code and configuration are generated.

  3. The <url> argument specifies the URL to a service endpoint that provides metadata or to a metadata document hosted online. The <epr> argument specifies the path to an XML file that contains a WS-Addressing EndpointAddress for a service endpoint that supports WS-MetadataExchange.

ServiceModel Metadata Utility Tool (Svcutil.exe)

原文:http://www.cnblogs.com/chucklu/p/4650287.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!