aspose file tools*
The moose likes Web Services and the fly likes Urgent! Pls Help! How to debug a Web Service? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Urgent! Pls Help! How to debug a Web Service?" Watch "Urgent! Pls Help! How to debug a Web Service?" New topic
Author

Urgent! Pls Help! How to debug a Web Service?

Jon Lee
Ranch Hand

Joined: Mar 04, 2005
Posts: 134
Guys, I have a tough problem which hold me up for several days. I deploy a java Web Service in Axis running on Tomcat. But the web service did not behave like I expected. I am wondering is there any ways to debug a web servie? Especially using Eclipse IDE? You may suggest I to use logging mechanism. But the problem is my web service will invoke third-party libraries and I want to see what is going on inside the third-party libraries. How to achieve this?? Any comments are welcome!

Thnx a lot...


SCJP 5.0 - 98% (2007)<br />SCWCD 1.4 - 97% (2007)
Balaji Loganathan
author and deputy
Bartender

Joined: Jul 13, 2001
Posts: 3150
Ok.
What 3rd party lib are you using ??
The lib should give some exceptions upon error, which can be captured in the try-catch block of java code.
Assuming the thrid party libs will throw some errors, was it being captured by the server and inturn displayed in the SOAP Response fault string ??
then you have the choice to see what the actual error is and start debugging it..


Spritle Software Blogs
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Urgent! Pls Help! How to debug a Web Service?