what is the data bind you use? Axis2 generates a seperate class for every element. and each fault message. so if an element with the wsdl namespace with the name same as the fault message then both classes would have the same package and class names.
to avoid this use -p option to specify a seperate package name for wsdl namespace. On 10/12/07, Kahler, Jason J (US SSA) <[EMAIL PROTECTED]> wrote: > > I am using Axis2 1.3 > > I have defined a custom Fault in my WSDL. It worked fine using axis 1. > > But now when I run WSDL2code via the maven2 pluggin I get errors when I > try to compile my classes such as: > > > > java:[63,17] incompatible types > > found : wfnp.ServiceException > > required: java.lang.Throwable > > > > the wfnp.ServiceException class doesn't even extend any kind of throwable, > so how can my classes actually > > throw it ? I am very frustrated and confused. > > > > Jay > > > -- Amila Suriarachchi, WSO2 Inc.
