You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by Carsten Ziegeler <cz...@sundn.de> on 2001/09/27 12:49:28 UTC

[Bug]: Generated class names are not unique

Hi,

I just played a little bit with the wsdl2java part of axis
and found out that the emitter does not create unique class names.
For example if you have a portType and a service with the same
name, this results in the same class name and therefore
the generated service class overwrites the generated
portType class and the generated code is not complete or
usable.

Perhaps the easiest way to achieve this is to add the scope
to the class name, i.e. adding "portType", "service" etc.
to the generated class names.


Carsten 

Open Source Group                        sunShine - b:Integrated
================================================================
Carsten Ziegeler, S&N AG, Klingenderstrasse 5, D-33100 Paderborn
www.sundn.de                          mailto: cziegeler@sundn.de 
================================================================