divided
divided

Reputation: 1319

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.

Upvotes: 0

Views: 685

Answers (2)

A.R.
A.R.

Reputation: 15685

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.

Upvotes: 1

Jacques
Jacques

Reputation: 7135

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

Upvotes: 2

Related Questions