Home All Groups Group Topic Archive Search About

Debugging a Web Service

Author
3 Feb 2006 10:19 PM
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.

Author
3 Feb 2006 11:51 PM
Nicholas Paldino [.NET/C# MVP]
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.


--
          - Nicholas Paldino [.NET/C# MVP]
          - mvp@spam.guard.caspershouse.com

Show quote
"Sathyaish" <sathya***@gmail.com> wrote in message
news:1139005156.570578.239410@f14g2000cwb.googlegroups.com...
> 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.
>
Author
4 Feb 2006 12:04 AM
Ken Cox - Microsoft MVP
This info here on attached to the process:

http://builder.com.com/5100-6373-5035019.html


Show quote
"Sathyaish" <sathya***@gmail.com> wrote in message
news:1139005156.570578.239410@f14g2000cwb.googlegroups.com...
> 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.
>
Author
4 Feb 2006 8:23 PM
Peter Bromberg [C# MVP]
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


--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com




Show quote
"Sathyaish" wrote:

> 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.
>
>

AddThis Social Bookmark Button