You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-user@axis.apache.org by Alok Mathur <al...@yahoo.com> on 2005/10/01 20:49:06 UTC

Newbie question: How to view debug messages in web service?

Hello,

Axis: 1.5 Final; Web server: Simple Axis server

I compiled one the sample web services and am trying to add debug messages.
somehow, simple printf does not work and am also unable to write to a file.

Is there a way I can see debug messages on the screen while the service processes the request?

Any help will be great.

Thanks,
Alok








	
		
______________________________________________________ 
Yahoo! for Good 
Donate to the Hurricane Katrina relief effort. 
http://store.yahoo.com/redcross-donate3/ 


Re: Newbie question: How to view debug messages in web service?

Posted by Samisa Abeysinghe <sa...@gmail.com>.
Alok Mathur wrote:

>Hello,
>
>Axis: 1.5 Final; Web server: Simple Axis server
>
>I compiled one the sample web services and am trying to add debug messages.
>somehow, simple printf does not work and am also unable to write to a file.
>
>Is there a way I can see debug messages on the screen while the service processes the request?
>  
>
You could enable the trace feature: Please have a look at "Enabling 
Trace and Debug" section in 
http://ws.apache.org/axis/cpp/antbuild-guide.html

I usually use apache with -X argument for debugging, and printfs do work

Thanks,
Samisa...

>Any help will be great.
>
>Thanks,
>Alok
>
>
>
>
>
>
>
>
>	
>		
>______________________________________________________ 
>Yahoo! for Good 
>Donate to the Hurricane Katrina relief effort. 
>http://store.yahoo.com/redcross-donate3/ 
>
>
>  
>


Re: Newbie question: How to view debug messages in web service?

Posted by John Hawkins <HA...@uk.ibm.com>.
You should be able to use trace and then output appears in the trace file.

If you compile with trace on then entry and exit trace will be put into 
the code automatically for you. In addition to that you can also add your 
own statements and relevant points.







Alok Mathur <al...@yahoo.com> 
01/10/2005 19:49
Please respond to
"Apache AXIS C User List"


To
axis-user@ws.apache.org
cc
axis-c-user@ws.apache.org
Subject
Newbie question: How to view debug messages in web service?






Hello,

Axis: 1.5 Final; Web server: Simple Axis server

I compiled one the sample web services and am trying to add debug 
messages.
somehow, simple printf does not work and am also unable to write to a 
file.

Is there a way I can see debug messages on the screen while the service 
processes the request?

Any help will be great.

Thanks,
Alok








 
 
______________________________________________________ 
Yahoo! for Good 
Donate to the Hurricane Katrina relief effort. 
http://store.yahoo.com/redcross-donate3/