Hi all:

 

I am relatively new to Axis 2 and web services in general, so please
bear with me if I ask any stupid questions.

 

I am writing a very simple web service that would return a list of
directories on a server.  However, if certain directories does not
exists, I'd like a throw an error back to the calling client.

 

I am using the POJO approach to create web services using axis2, so is
it good enough for me to throw a plain Exception or do I have to do
more?  What is the best practice in doing error handling in web
services?

 

Thanks in advance.

 

Herman Chan

 

Reply via email to