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 "Matthew Carey (JIRA)" <ax...@ws.apache.org> on 2004/11/19 23:43:25 UTC
[jira] Created: (AXIS-1677) WSDL2java creates illegal java class that extends Object[]
WSDL2java creates illegal java class that extends Object[]
----------------------------------------------------------
Key: AXIS-1677
URL: http://nagoya.apache.org/jira/browse/AXIS-1677
Project: Axis
Type: Bug
Components: WSDL processing
Environment: Axis 1.2RC1
SuSE Linux 8.2
Java 1.4.2_04-b05
Reporter: Matthew Carey
When pointed at the WSDL at www.cornucopia.org.uk/soap/index.php?wsdl
WSDL2java generates a class uk.org.cornucopia.soap.Results that extends java.lang.object[] i.e. it extends an array of java objects.
This won't compile.
--
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-1677) WSDL2java creates illegal java class that extends Object[]
Posted by "Dominik Kacprzak (JIRA)" <ax...@ws.apache.org>.
[ http://nagoya.apache.org/jira/browse/AXIS-1677?page=comments#action_55948 ]
Dominik Kacprzak commented on AXIS-1677:
----------------------------------------
Matthew,
after taking a closer look at the wsdl that you referred to, I believe that the problem is with the wsdl itself. Notice that the complex type "results" is defined as an array of itself:
<xsd:complexType name="results">
<xsd:complexContent>
<xsd:restriction base="SOAP-ENC:Array">
<xsd:attribute ref="SOAP-ENC:arrayType" wsdl:arrayType="tns:results"/>
</xsd:restriction>
</xsd:complexContent>
</xsd:complexType>
The same goes for "domresults" type. Take a look at the wsdl and let us know if you still consider this to be an Axis issue.
cheers,
- Dominik
> WSDL2java creates illegal java class that extends Object[]
> ----------------------------------------------------------
>
> Key: AXIS-1677
> URL: http://nagoya.apache.org/jira/browse/AXIS-1677
> Project: Axis
> Type: Bug
> Components: WSDL processing
> Environment: Axis 1.2RC1
> SuSE Linux 8.2
> Java 1.4.2_04-b05
> Reporter: Matthew Carey
>
> When pointed at the WSDL at www.cornucopia.org.uk/soap/index.php?wsdl
> WSDL2java generates a class uk.org.cornucopia.soap.Results that extends java.lang.object[] i.e. it extends an array of java objects.
> This won't compile.
--
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] Updated: (AXIS-1677) WSDL2java creates illegal java class that extends Object[]
Posted by "Dominik Kacprzak (JIRA)" <ax...@ws.apache.org>.
[ http://nagoya.apache.org/jira/browse/AXIS-1677?page=history ]
Dominik Kacprzak updated AXIS-1677:
-----------------------------------
Assign To: Dominik Kacprzak
Priority: Minor (was: Major)
I'm reducing priority on this issue as we are awaiting more information from Matthew. I'm also reassigning this issue to myself.
- Dominik
> WSDL2java creates illegal java class that extends Object[]
> ----------------------------------------------------------
>
> Key: AXIS-1677
> URL: http://nagoya.apache.org/jira/browse/AXIS-1677
> Project: Axis
> Type: Bug
> Components: WSDL processing
> Environment: Axis 1.2RC1
> SuSE Linux 8.2
> Java 1.4.2_04-b05
> Reporter: Matthew Carey
> Assignee: Dominik Kacprzak
> Priority: Minor
>
> When pointed at the WSDL at www.cornucopia.org.uk/soap/index.php?wsdl
> WSDL2java generates a class uk.org.cornucopia.soap.Results that extends java.lang.object[] i.e. it extends an array of java objects.
> This won't compile.
--
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-1677) WSDL2java creates illegal java class that extends Object[]
Posted by "Dominik Kacprzak (JIRA)" <ax...@ws.apache.org>.
[ http://nagoya.apache.org/jira/browse/AXIS-1677?page=comments#action_55861 ]
Dominik Kacprzak commented on AXIS-1677:
----------------------------------------
This issue is a duplicate of AXIS-1510.
- Dominik
> WSDL2java creates illegal java class that extends Object[]
> ----------------------------------------------------------
>
> Key: AXIS-1677
> URL: http://nagoya.apache.org/jira/browse/AXIS-1677
> Project: Axis
> Type: Bug
> Components: WSDL processing
> Environment: Axis 1.2RC1
> SuSE Linux 8.2
> Java 1.4.2_04-b05
> Reporter: Matthew Carey
>
> When pointed at the WSDL at www.cornucopia.org.uk/soap/index.php?wsdl
> WSDL2java generates a class uk.org.cornucopia.soap.Results that extends java.lang.object[] i.e. it extends an array of java objects.
> This won't compile.
--
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