Debugging a web service

N

Nick

Hi there,

When accessing a web service via a web browser and invoking it via HTTP
is there any way to display debug messages on screen? I've tried throwing
an exception but that merely results in a HTTP 500 error. I've tried
logging to file but I don't seem to be allowed to and without being able to
debug I cant debug my debug code, thus im stuck in a bit of a messy loop.
Thanks in advance!
 
N

Nick

i.e. I'm just opening the Web Services web page directly in accessing the
method via the automatically generated pages.
 
N

Nick

Okay, ive got a method of debugging. And it was a very simple solution
(suprised noone suggested it).

(for the benefit of others)...
Don't use booleans as a return value but strings, if it's not an "OK" string
it's presumed to be an error string and this can be seen in the XML response
once the service has been invoked.

Nick.

Nick said:
i.e. I'm just opening the Web Services web page directly in accessing the
method via the automatically generated pages.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,043
Latest member
CannalabsCBDReview

Latest Threads

Top