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 / May 2005

Tip: Looking for answers? Try searching our database.

How to debug Web Service?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
DQ - 20 Apr 2005 23:54 GMT
Hi All,
Is there a way to debug a web service program when I test a method via the
DefaultWsdlHelpGenerator.aspx file.  

For example, I have a web service with a given name of "WSTest" that
contains a web method with a name of "TestConnection."  When I go to the
following link (by typing the address on the IE 6.x)

http://localhost/WSTest/WebTest.asmx?op=TestConnection

IE6.x will take me to an ASP page where I can input the parameters for the
TestConnection method, and then click on the Invoke button to execute the
TestConnection method.

I wonder if there is a way so that when I click on the Invoke button, it
will "magically", automatically take me to the debug so that I can trace my
source in the TestConnection method.

Thanks in advance.
Amar - 21 Apr 2005 06:13 GMT
I've been using a program called WebServiceStudio 2.0 to debug my web
services. You can set your breakpoints, run the debugger and then launch this
program that will send a SOAP or HTTP request to your web service. Doing this
will hit your breakpoints so you can debug. More information on the program
can be found here:

http://www.gotdotnet.com/team/tools/web_svc/default.aspx

Hope this helps.

--
Amar
amarkota.com

> Hi All,
> Is there a way to debug a web service program when I test a method via the
[quoted text clipped - 15 lines]
>
> Thanks in advance.
Pete Wood - 25 Apr 2005 23:42 GMT
Hi there...

I've been using Mindreef SOAPScope for the past few days and its works a
treat.  You can even set it to listen to network port (MAC Address) to watch
the soap messages going over it.

Alternatively,  if you create an ASPX page in the same project in VS, call
the ASMX from within, and set the default project start page to the ASPX
page,   you should be able to check the code as it runs through the
breakpoints.

Signature

Pete Wood
Email me at  http://www.webserviceshelp.org  for more help
_________________________________________________________

> Hi All,
> Is there a way to debug a web service program when I test a method via the
[quoted text clipped - 16 lines]
>
> Thanks in advance.
DQ - 01 May 2005 07:34 GMT
Thanks Amar + Peter for the information.

DQ

> Hi All,
> Is there a way to debug a web service program when I test a method via the
[quoted text clipped - 15 lines]
>
> Thanks in advance.

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.