views:

117

answers:

1

I have several web services in the same package that throw a custom exception. The problem is that the generated exception class contains a reference to the web service that generated it, so I can't use the same exception name across multiple web services. Is there a way to make Axis2 generate the exception classes inside the web service classes, the same way it does for other objects? I'm using ADB. I suspect that maybe there's a -E parameter, but since those aren't all documented, it's hard to say.

+3  A: 

Here's a very good guide about Axis 2 code-generation parameters. I have used it to a number of tasks like customizing the output packages names (that by default corresponds to the WSDL namespaces).

I hope this helps you.

Alceu Costa
Doesn't answer my exact question, but still useful. Axis2 should come with documentation like this.
Adam Crume