0

What's the best practices for developing a web service with a WSDL as a start point?

John Saunders
  • 160,644
  • 26
  • 247
  • 397
user285677
  • 1,098
  • 3
  • 14
  • 21

4 Answers4

1

Your question is a little vaque, but developing web services with .net is quite easy.

Using visual studio, most of the things are generated for you. You can add methods as

[WebMethod]
public string hello(){
    return "hello"
}

and luckily once you deploy it, the wsdl is generated for you.

If you are looking to download some entities from a wsdl, you can use the wsdl utility and invoke a wsdl to download the entity class.

DarthVader
  • 52,984
  • 76
  • 209
  • 300
1

Use SvcUtil to generate your service interface and then develop a service against that. Here is an example.

Leigh S
  • 1,837
  • 11
  • 17
0

Check out the WCF Developer Center on MSDN - it has tons of tutorials, article, screencasts that show you how to create a SOAP based web service, based on code or WSDL.

marc_s
  • 732,580
  • 175
  • 1,330
  • 1,459
0

I found this question helpful when I had the same question in the past.

Create an ASMX web service from a WSDL file

The problem I had was that I was given a WSDL. I needed to create web service methods based on the contract that the WSDL provided.

Community
  • 1
  • 1
p.campbell
  • 98,673
  • 67
  • 256
  • 322