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 "Tom Jordahl (JIRA)" <ax...@ws.apache.org> on 2005/02/15 06:55:11 UTC

[jira] Commented: (AXIS-1816) WSDL2Java fails to create java code

     [ http://issues.apache.org/jira/browse/AXIS-1816?page=comments#action_59184 ]
     
Tom Jordahl commented on AXIS-1816:
-----------------------------------

Can you check the behavior of the current CVS source?  I recently (2 weeks) made a change to enable better duplicate type checking in 1.2 post RC2.  Thanks.


> WSDL2Java fails to create java code
> -----------------------------------
>
>          Key: AXIS-1816
>          URL: http://issues.apache.org/jira/browse/AXIS-1816
>      Project: Axis
>         Type: Bug
>   Components: WSDL processing
>     Versions: 1.2RC2
>  Environment: Windows 2000
>     Reporter: Klaus Mueller

>
> Schema includes two complex type declarations:
> <xsd:complexType name="GeneticCodeType">...
> and
> <xsd:complexType name="Genetic-codeType">...
> WSDL2Java tries to create source files with the same name (GeneticCodeType.java) for the both classes and generates the following error:
> org.apache.axis.wsdl.toJava.DuplicateFileException: Duplicate file name: GeneticCodeType.java.
> Hint: you may have mapped two namespaces with elements of the same name to the same package name.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira