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 "Martin Zdila (JIRA)" <ax...@ws.apache.org> on 2007/01/16 10:58:27 UTC
[jira] Commented: (AXIS-1510) WSDL creates class that extends
Object array
[ https://issues.apache.org/jira/browse/AXIS-1510?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12465096 ]
Martin Zdila commented on AXIS-1510:
------------------------------------
hello
i am using axis 1.4:
wsdl input:
...
<xsd:complexType name="MMSData">
<xsd:annotation>
<xsd:documentation>Array of MMS Elements to be transferred</xsd:documentation>
</xsd:annotation>
<xsd:complexContent>
<xsd:restriction base="SOAP-ENC:Array">
<xsd:sequence>
<xsd:element maxOccurs="99" minOccurs="0" name="item" type="tnsc:MMSElement"/>
</xsd:sequence>
<xsd:attribute ref="SOAP-ENC:arrayType" wsdl:arrayType="tnsc:MMSElement[]"/>
</xsd:restriction>
</xsd:complexContent>
</xsd:complexType>
...
generated output:
...
/**
* Array of MMS Elements to be transferred
*/
public class MMSData extends java.lang.Object[] implements java.io.Serializable {
...
> WSDL creates class that extends Object array
> --------------------------------------------
>
> Key: AXIS-1510
> URL: https://issues.apache.org/jira/browse/AXIS-1510
> Project: Apache Axis
> Issue Type: Bug
> Environment: Windows XP Professional, Java 1.4.2_05, 1.2 Beta2
> Reporter: Will Sargent
> Assigned To: Dominik Kacprzak
> Priority: Minor
> Attachments: example.tar.gz
>
>
> When I use the beta2 release's version of WSDL2Java with Amazon's WSDL file:
> http://sellercentral.amazon.com/help/merchant_documents/Programs/Merchants-API-Integration-1.3.wsdl
> I get the following:
> public class DocumentDownloadAckStatusArray extends java.lang.Object[] implements java.io.Serializable {
> ...
> }
> Since arrays cannot be extended, this code does not compile.
> Incidentally, if you type the text "Object[]" into the header or try searching for it, you can break Jira.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org