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 "Vaduz (JIRA)" <ax...@ws.apache.org> on 2004/10/26 20:46:44 UTC

[jira] Commented: (AXIS-1623) WSDL2Java generates uncompilable code on valid schema

     [ http://issues.apache.org/jira/browse/AXIS-1623?page=comments#action_54680 ]
     
Vaduz commented on AXIS-1623:
-----------------------------

Corrction:
insead <s:complexType name="GBSeq_topologyType"> 
shoud read <s:complexType name="GBSeq_moltypeType"> 



> WSDL2Java generates uncompilable code on valid schema
> -----------------------------------------------------
>
>          Key: AXIS-1623
>          URL: http://issues.apache.org/jira/browse/AXIS-1623
>      Project: Axis
>         Type: Bug
>     Versions: 1.1
>  Environment: Win2000
>     Reporter: Vaduz

>
> Complex type:
> <s:complexType name="GBSeq_topologyType">
>   <s:simpleContent>
>     <s:extension base="s:string">
>       <s:attribute name="value">
>         <s:simpleType>
>           <s:restriction base="s:NMTOKEN">
>             <s:enumeration value="linear"/>
>             <s:enumeration value="circular"/>
>           </s:restriction>
>         </s:simpleType>
>       </s:attribute>
>     </s:extension>
>   </s:simpleContent>
> </s:complexType>
> WSDL2Java generates class with two "value" identifiers:
> public class GBSeq_moltypeType  implements java.io.Serializable {
>     private java.lang.String value;
>     private gov.nih.nlm.ncbi.www.soap.eutils.efetch.GBSeq_moltypeType_value value; // attribute
> Unfortunately, I can not change "value" attribute name.
> Is there a way to avoid the names conflict in source code using WSDL2Java utility?

-- 
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