axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vadim Miller (JIRA)" <axis-...@ws.apache.org>
Subject [jira] Created: (AXIS-1623) WSDL2Java generates uncompilable code on valid schema
Date Tue, 26 Oct 2004 18:41:53 GMT
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: Vadim Miller


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


Mime
View raw message