C# API with XSD/WSDL
I'm used to adding a web reference in VS and building an API from there.
开发者_JAVA百科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.
精彩评论