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 "Vadim Miller (JIRA)" <ax...@ws.apache.org> on 2004/10/26 20:41:53 UTC
[jira] Created: (AXIS-1623) WSDL2Java generates uncompilable code on valid schema
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
[jira] Resolved: (AXIS-1623) WSDL2Java generates uncompilable code on valid schema
Posted by "Davanum Srinivas (JIRA)" <ax...@ws.apache.org>.
[ http://nagoya.apache.org/jira/browse/AXIS-1623?page=history ]
Davanum Srinivas resolved AXIS-1623:
------------------------------------
Resolution: Fixed
closing as per prev comment.
> WSDL2Java generates uncompilable code on valid schema
> -----------------------------------------------------
>
> Key: AXIS-1623
> URL: http://nagoya.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://nagoya.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
[jira] Commented: (AXIS-1623) WSDL2Java generates uncompilable code on valid schema
Posted by "Vaduz (JIRA)" <ax...@ws.apache.org>.
[ 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
[jira] Commented: (AXIS-1623) WSDL2Java generates uncompilable code on valid schema
Posted by "Vaduz (JIRA)" <ax...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/AXIS-1623?page=comments#action_54702 ]
Vaduz commented on AXIS-1623:
-----------------------------
FIXED IN Axis 1.2 RC1 release
> 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