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 "Davanum Srinivas (JIRA)" <ax...@ws.apache.org> on 2005/04/22 21:11:23 UTC
[jira] Resolved: (AXIS-1816) WSDL2Java fails to create java code
[ http://issues.apache.org/jira/browse/AXIS-1816?page=all ]
Davanum Srinivas resolved AXIS-1816:
------------------------------------
Resolution: Won't Fix
Klaus,
2 ComplexTypes result in the same java class name according to the algorithm specified in JAXRPC 1.1 (Chapter 20 Appendix: Mapping of XML Names). So you would have to modify the wsdl/xsd. See especially table 20-2.
thanks,
dims
> 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
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira