[Mono-list] How to debug SOAP webservice

Gonzalo Paniagua Javier gonzalo.mono at gmail.com
Wed Dec 24 12:31:15 EST 2008


On Wed, 2008-12-24 at 14:22 +0200, Andrus wrote:
> Gonzalo,
> 
> > Keep the debug="true" in web.config and go to
> > http://yourserver/yourservice.asmx then find the page that allows you to
> > invoke the web service using HTTP and run it. You should get the actual
> > stack trace in your browser.
> 
> Thank you.
> I have tried it several times wihout success:

How about a good old try/catch in the webmethod and a Console.WriteLine
(or Console.Error.WriteLine) to print the stacktrace?

-Gonzalo




More information about the Mono-list mailing list