简体   繁体   中英

C# API with XSD/WSDL

I'm used to adding a web reference in VS and building an API from there.

I was handed on WSDL document and two XSD documents to build an API from. How do I go about creating the API?

Thanks in advance.

Try reading about the Wsdl.exe tool, which should build the C# classes for you from the Wsdl definition file.

Try something like this from the command line:

svcutil your.wsdl (or svcutil your.wsdl /l:vb if you want Visual Basic)

I got this from basically a duplicate question here .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM