2011-03-02 3 views
0

Je vais avoir un problème à l'aide wsdl /sharetypes Mono 2.8/wsdl sharetypes en Mono 2.8

Je reçois toujours l'erreur suivante:

Error: Could not find file "/sharetypes".

Quand je lance wsdl, je remarque aussi qu'il y est pas une option sharetypes:

Web Services Description Language Utility 
Mono Framework v4.0.30319.1 
wsdl [options] {path | URL} {path | URL} ... 

    -d, -domain:domain   Domain of username for server authentication. 
    -l, -language:language  Language of generated code. Allowed CS (default) 
           and VB. You can also specify the fully qualified 
           name of a class that implements the 
           System.CodeDom.Compiler.CodeDomProvider Class. 
    -n, -namespace:ns   The namespace of the generated code, default 
           namespace if none. 
    -nologo      Surpress the startup logo. 
    -o, -out:filename   The target file for generated code. 
    -p, -password:pwd   Password used to contact the server. 
    -protocol:protocol   Protocol to implement. Allowed: Soap (default), 
           HttpGet or HttpPost. 
    -fields      Generate fields instead of properties in data 
           classes. 
    -server      Generate server instead of client proxy code. 
    -u, -username:username  Username used to contact the server. 
    -proxy:url     Address of the proxy. 
    -pu, -proxyusername:username Username used to contact the proxy. 
    -pp, -proxypassword:pwd  Password used to contact the proxy. 
    -pd, -proxydomain:domain  Domain of username for proxy authentication. 
    -urlkey, -appsettingurlkey:key Configuration key that contains the default 
           url for the generated WS proxy. 
    -baseurl, -appsettingbaseurl:url Base url to use when constructing the 
           service url. 
    -sample:[binding/]operation Display a sample SOAP request and response. 
    -?       Display this message 

Options can be of the forms -option, --option or /option 

Comment puis-je utiliser /sharetypes?

Répondre

2

Il semble que le wsdl.exe Mono n'a pas cette option.

Laissez le .Net générer vos classes et les utiliser.

+0

On dirait que c'est ma seule option. Vraiment étrange que le mono ne supporte pas cette option. –