码迷,mamicode.com
首页 > Web开发 > 详细

ServiceModel Metadata Utility Tool (Svcutil.exe)

时间:2015-07-16 11:07:35      阅读:120      评论: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
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!