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,249
  • 5
  • 14
  • 27

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,936
  • 8
  • 43
  • 102
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.
  • 15,405
  • 19
  • 77
  • 123