Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 152681
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T09:40:01+00:00 2026-05-11T09:40:01+00:00

Folks, I’m creating a new WCF Service and started with my Service interface. Looks

  • 0

Folks,

I’m creating a new WCF Service and started with my Service interface. Looks something like:

   public interface ISomethingService     {         /// <summary>         /// some description         /// </summary>         /// <version>2.13.0</version>         /// <copyright>2009 by myself</copyright>         /// <author>Marc Scheuner</author>         /// <param name='request'>The request object</param>         [OperationContract]         SomethingResponse GetList(SomethingRequest request);     } 

Now, I also created some data contracts in another file describing the SomethingRequest and SomethingResponse messages.

I compiled my project and fired up svcutil.exe to extract the metadata (WSDL and XSD) from the DLL – but I can’t seem to figure out if there’s a way to get all my comments and explanations into the WSDL/XSD into / nodes.

Am I blind for yet another obscure svcutil.exe parameter, or is there really no way to generate this documentation in the metadata automatically??

EDIT: ok, based on Marc Gravell’s answer, the comments and documentation strings aren’t in either the compiled DLL, nor available over the MEX metadata exchange protocol (pity!).

SO THEN: How do you document your WCF services, if you need to give a third-party the information they need to access your service?? Is there a ‘NService’ or ‘Sandcastle for WCF’ tool around that would scan my WCF service library and construct the WSDL and XSD from source code, including the annotations??

Can’t seem to find a whole lot of tools and ways to do this – to my big surprise, honestly….

Marc

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T09:40:02+00:00Added an answer on May 11, 2026 at 9:40 am

    svcutil.exe consumes the ‘mex’ API, and only has access to a subset of the metadata. Comments aren’t included (nor, IIRC, is [DescriptionAttribute] to any great extent).

    You might have to rely on external documentation (i.e. a help page / dead tree). One other option (although it breaks a number of pure SOA rules) is to ship the entities / interfaces in a dll + xml; svcutil (and the IDE) can re-use matching types from existing assemblies.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Folks, I really like the -Wshadow option since it helps to spot some possible
Folks, I am completely new to jQuery and JqGrid both. Usually I take some
Folks, We have been using OpenXml APIs found in System.IO.Packaging for creating a package
Folks, I have some HTML generated from my WSDL and XSD files for a
Folks, I am creating an installer project in Visual Studio. This is done using
Folks, I've been writing some code in Scala lately to teach myself the language
Folks, I'm having some problems making a form render/display in my webpage. Well, it
Folks.. Our customer is asking for a new requirement which allow our application to
Folks, I have an hourly temperature data like this Lines <- Date,Outdoor,Indoor 01/01 01:00:00,24.5,21.3
Folks, I've been having some trouble with a WF4 problem. I'm modeling a batch

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.