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.