On Wed, Jun 25, 2008 at 5:13 PM, Stefan E. Funk <[EMAIL PROTECTED]>
wrote:

> Hello all.
>
> Sorry for this maybe dull question, but I didn't find anything on that
> topic
> anywhere:
>
> I would like to know, why the WSDL2Java code generator generates exceptions
> from the WSDL and adds a continous number to all exception class names,
> e.g.
> MyOwnException0, SecondException1, ExceptionXyz2, etc.
>
> Can that numbers be avoided at code generation time somehow? The numbers
> itself would be no peoblem, if they *wouldn't change* every time we change
> something in our WSDL file. So all exception names must be changed in all
> server and client classes, too.
>
> Maybe someone can tell me, how we can get rid of them :-)


Here the problem is that there may be a Databinding class with the same
name. If you could send a wsdl I can verify. One option is to use -p option
and point generated service classes to different package.

thanks,
Amila.

>
>
> Many Thanks.
> Stefan.
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Amila Suriarachchi,
WSO2 Inc.

Reply via email to