Reputation: 1158
What's the best practices for developing a web service with a WSDL as a start point?
Upvotes: 0
Views: 4675
Reputation: 55022
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.
Upvotes: 1
Reputation: 100547
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.
Upvotes: 0
Reputation: 1837
Use SvcUtil to generate your service interface and then develop a service against that. Here is an example.
Upvotes: 1
Reputation: 754210
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.
Upvotes: 0