0

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.

divided
  • 1,189
  • 5
  • 12
  • 26

2 Answers2

2

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

Jacques
  • 6,536
  • 8
  • 41
  • 98
1

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.

Community
  • 1
  • 1
A.R.
  • 14,803
  • 17
  • 73
  • 122