Friday, August 11, 2006

How to add a WSDL file to an ASP.net project:

1. open a web application project in visual studio 2003 (VS)

2. add the wsdl file to the project (physically copy the file)

3. See if the file is avaialble on the web server

4. open web references dialog in VS.

5. use url to refer to the wsdl file on the web server
eg: http://localhost/wsdl

6. once it is added and saved all the web service methods are available to the current project.

No comments: