axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vadim Miller (JIRA)" <>
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
     Project: Axis
        Type: Bug
    Versions: 1.1    
 Environment: Win2000
    Reporter: Vadim Miller

Complex type:

<s:complexType name="GBSeq_topologyType">
    <s:extension base="s:string">
      <s:attribute name="value">
          <s:restriction base="s:NMTOKEN">
            <s:enumeration value="linear"/>
            <s:enumeration value="circular"/>

WSDL2Java generates class with two "value" identifiers:

public class GBSeq_moltypeType  implements {
    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:
If you want more information on JIRA, or have a bug to report see:

View raw message