wsdl(1)

πŸ’– NAME πŸ’–

wsdl β€” Mono's Web Service Proxy Generator 🫢

(yes bestie this is the General Commands Manual page for it β€” wsdl(1), we are so here for it ✨)


🌈 SYNOPSIS 🌈

wsdl [options] [path | url]

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so listen. wsdl is the tool that generates proxy classes so your code can go talk to web services πŸ’… It reads a WSDL document from whatever path or url you hand it, and if that document references schemas or other WSDL documents, it goes and downloads those too. No cap, it just handles it 🧚

⚠️ real talk though β€” this tool targets the 1.x API. If you're trying to target the 2.x API, you need the wsdl2 tool instead, periodt.

✨ OPTIONS ✨

The following options are available:

  • -appsettingurlkey:key, -urlkey:key β€” says that the url for the services should be read from the <appsettings> section of the configuration file, using the key you gave it πŸ”‘
  • -appsettingbaseurl:url, -baseurl:url β€” gives a base URL for the service. The final URL gets constructed by combining this value with the URL read from the -appsettingurlkey option, and the -type:typename, assembly
  • -type:typename, assembly β€” generate a proxy for a compiled web service class. The URL parameter can be used to provide the location of the service.
πŸ™ˆ ngl the original page has a lil fragment hanging off this one β€” "location attribute specified in the WSDL document." β€” just leaving it right here where it lives, bestie, I don't make the rules πŸ’€
  • -language:language, -l β€” the language of the code to generate. It can be CS for C# (that's the default), Boo for Boo, and VB for Visual.Basic πŸ‘‘

Alternatively you can specify a full type name for a CodeProvider. For example, you could use this to generate code for the imaginary "MyLan" language which has the following full type:

wsdl myservice.wsdl -language:MyLan.MyLanCodeProvider, MyLan.CodeDom, Version=1.0.0.0, Culture=neutral, PublicKeyToken=xxyy'
  • -namespace:name, -n:name β€” the namespace of the generated classes. If none is specified, the default namespace is used πŸŽ€
  • -out:filename, -o:filename β€” the target file for generated code πŸ“
  • -protocol:protocol, -p:protocol β€” the protocol for which to generate code. It can be Soap (default), HttpGet or HttpPost 🌐
not the page listing -p twice for two completely different things πŸ™ˆ that's just what it says, iykyk
  • -sample:METHOD β€” this will display XML request and reply of the sample invocations to that SOAP message. You can use the -protocol: option to render the message in different forms πŸ”₯
  • -server β€” generate a server skeleton instead of a client proxy πŸ’€
  • -nologo β€” supress the startup logo πŸŽ€
  • -u:username, -user:username β€” the user name to use when connecting to the server πŸ™‹
  • -p:password, -password:password β€” the password to use when connecting to the server πŸ”
  • -d:domain, -domain:domain β€” the domain to use when connecting to the server 🏰

πŸ‘‘ AUTHORS πŸ‘‘

Lluis Sanchez Gual (lluis@ximian.com) β€” thank you for your service, icon πŸ’œ


πŸ“œ LICENSE πŸ“œ

wsdl is released under the terms of the GNU GPL.


🌸 SEE ALSO 🌸

disco(1), soapsuds(1), mono(1), mcs(1), wsdl2(1) β€” go read those too bestie, they're all right there πŸ¦‹


and that's a wrap πŸ’… this was the wsdl(1) page from the General Commands Manual, that's literally the whole vibe, mwah πŸ˜˜βœ¨πŸ“