Upul Bandara
Upul Bandara

Reputation: 5958

An Issue with Axis2 Web Service Framework

I’m writing a web service (and client) in Java by using Axis2. In one of the web methods I want to throw an exception and in the client side I am going to catch this exception. Unfortunately it seems like this is not an easy task to do with Axis2.

Does anybody have an idea about how to do it in Axis2?

Upvotes: 0

Views: 145

Answers (1)

JasonStoltz
JasonStoltz

Reputation: 3110

Does this post answer your question? I believe you just need to make sure your service throws an AxisFault. There are more details in the post.

Create custom exceptions in Axis2

Upvotes: 1

Related Questions