Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / February 2005

Tip: Looking for answers? Try searching our database.

How do I debug a web service

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Tim Mavers - 04 Feb 2005 00:56 GMT
I have created a webservice in C# with .NET 1.1. How can I debug it?  In
other words, how can I start the debugger and have it listen for incoming
web requests?  I have tried setting my start debug to the .ASMX file, but
when I start debug (F5), it compiles it, and then nothing happens (the
debugger doesn't even start).
Dilip Krishnan - 04 Feb 2005 01:17 GMT
Hello Tim,
   You need to use the Debug->Processes-> Choose aspnet_wp.exe and send
your web service requests

HTH
Regards,
Dilip Krishnan
MCAD, MCSD.net
dkrishnan at geniant dot com
http://www.geniant.com

> I have created a webservice in C# with .NET 1.1. How can I debug it?
> In other words, how can I start the debugger and have it listen for
> incoming web requests?  I have tried setting my start debug to the
> .ASMX file, but when I start debug (F5), it compiles it, and then
> nothing happens (the debugger doesn't even start).
Chris Botha - 04 Feb 2005 03:29 GMT
The way that it should work, is you should be able to right click on the
asmx page and select "Set As Start Page", then hit F5 and it should go, same
as with aspx pages.
If it does not work, also try the  microsoft.public.dotnet.framework.aspnet
newsgroup.

>I have created a webservice in C# with .NET 1.1. How can I debug it?  In
>other words, how can I start the debugger and have it listen for incoming
>web requests?  I have tried setting my start debug to the .ASMX file, but
>when I start debug (F5), it compiles it, and then nothing happens (the
>debugger doesn't even start).
Scott M. - 04 Feb 2005 05:10 GMT
Make sure your breakpoint is in a webmethod, not a procedure called by the
webmethod.

>I have created a webservice in C# with .NET 1.1. How can I debug it?  In
>other words, how can I start the debugger and have it listen for incoming
>web requests?  I have tried setting my start debug to the .ASMX file, but
>when I start debug (F5), it compiles it, and then nothing happens (the
>debugger doesn't even start).

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.