Comment générer un fichier WSDL à partir d'un webservice C #

J'ai créé un WebService comme ceci:

[WebService(Namespace = "http://ns")]
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
public class GroupManagerService : WebService
{
    public GroupManagerService()
    {
    }

    [WebMethod]
    public bool MyMethod(string loginname, string country)
    {
        //code here...
    }
}

Est-il possible de générer un fichier WSDL de ce code, sans connexion à un service en cours d'exécution?
J'ai cherché et j'ai trouvé des informations sur SvcUtil.exe & wsdl.exe, mais ces travaux uniquement lors de la récupération du fichier WSDL à partir de l'exécution d'un WebService.

(Pour javail existe un outil appelé java2wsdlest-il un équivalent pour c# ?)

:Mise à jour:

Le contexte de cette question est que je veux ajouter de nouveaux CustomWebService à SharePoint qui devrait déployé à l'aide de WSPBuilder dans le dossier _vti_bin sur SharePoint.
Voir aussi mon post sur SharePoint.SE.

Et je veux générer automatiquement (à l'aide de msbuild commandes) la 'MyServicewsdl.aspx' & 'MyServicedisco.wsdl' qui doit être placé dans le dossier _vti_bin.

Peut-être que je vais manquer de certaines choses?
Sortie de svcutil.exe est:

bin\Debug>SvcUtil.exe MyWebService.dll
Microsoft (R) Service Model Metadata Tool
[Microsoft (R) Windows (R) Communication Foundation, Version 3.0.4506.2152]
Copyright (c) Microsoft Corporation.  All rights reserved.

Generating metadata files...
Warning: No metadata files were generated. No service contracts were exported.
 To export a service, use the /serviceName option. To export data contracts, spe
cify the /dataContractOnly option. This can sometimes occur in certain security
contexts, such as when the assembly is loaded over a UNC network file share. If
this is the case, try copying the assembly into a trusted environment and runnin
g it.

source d'informationauteur Stef Heyenrath