What's the best practices for developing a web service with a WSDL as a start point?
-
Are you trying to reverse-engineer the WSDL from an existing service (possibly non-.NET) and create a new .NET web service with equivalent WSDL? – TrueWill Mar 18 '10 at 22:08
-
Do you mean a WCF service, or a legacy ASMX service? – John Saunders Mar 18 '10 at 22:34
4 Answers
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.

- 52,984
- 76
- 209
- 300
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.

- 732,580
- 175
- 1,330
- 1,459
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.

- 1
- 1

- 98,673
- 67
- 256
- 322