The Service Model Metadata Utility Tool is used to generate service model code from metadata documents.

The following command generates client code from a running service or online  metadata documents.

svcutil http://service/metadataEndpoint

The following command generates client code from local metadata documents.

svcutil *.wsdl *.xsd /language:c#

The following command downloads metadata documents from running services.

svcutil /t:metadata http://service/metadataEndpoint

The following command generates metadata documents for service contracts and associated types in an assembly.

svcutil myAssembly.dll


2 responses to “Service Model Metadata Utility Tool”

  1. […] exposes the service operations as methods.A WCF client can be automatically generated by using the ServiceModel Metadata Utility Tool (Svcutil.exe) and pointing it at a running service that publishes […]

  2. Service Model Metadata Utility Tool…

    You’ve been kicked (a good thing) – Trackback from DotNetKicks.com…

Leave a Reply

Your email address will not be published. Required fields are marked *