Debugging a Web Service

  • Thread starter Thread starter Sathyaish
  • Start date Start date
S

Sathyaish

How do you debug a web service in Visual Studio .NET 2003? To give you
some background, I have been programming for some over 8 years now and
know how to debug VB, VC++ apps in Visual Studio 6.0 and also know how
to debug WinForms apps, Console Apps and ASP.NET apps in Visual Studio
..NET 2003.

It occurs that this is the first time I am debugging a Web service.
 
Sathyaish,

If you have debugged ASP.NET apps, then you should have no problem
debugging a web service. Web serivces are hosted in ASP.NET, and not any
different in the debugging sense than say, web pages.

Of course, VS.NET makes this MUCH easier, since it will allow you to
host locally, which makes the debugging experience MUCH easier.

Hope this helps.
 
Sathyaish,
add the webservice project to your solution where you have the app that
calls your webservice. Set a WebReference to the WSDL url of the webservice
project in your solution.
Set your breakpoints, and have fun.
Peter
 
Back
Top