TechBubbles

Service Model Metadata Utility Tool

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 Comments so far

  1. Tech Bubbles » WCF Terms August 10th, 2008 1:05 am

    [...] 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. DotNetKicks.com August 10th, 2008 1:20 am

    Service Model Metadata Utility Tool…

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

Leave a reply