[
https://issues.apache.org/jira/browse/AXIS-1510?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13013941#comment-13013941
]
Frederic Giltay edited comment on AXIS-1510 at 3/31/11 12:15 PM:
-----------------------------------------------------------------
Hello,
I have a wsdl that generates the same kind of invalid java files.
In WSDL:
<xsd:complexType name="AGDungeonSoapArrayAssociation">
<xsd:complexContent>
<xsd:restriction base="SOAP-ENC:Array">
<xsd:sequence>
<xsd:element maxOccurs="2" minOccurs="2"
name="items" type="xsd:string"/>
</xsd:sequence>
<xsd:attribute ref="SOAP-ENC:arrayType"
wsdl:arrayType="xsd:string[]"/>
</xsd:restriction>
</xsd:complexContent>
</xsd:complexType>
->
Java file:
public class AGDungeonSoapArrayAssociation extends java.lang.Object[]
implements java.io.Serializable
was (Author: fred1701):
Hello,
I have a wsdl that generates the same king of invalid java files.
In WSDL:
<xsd:complexType name="AGDungeonSoapArrayAssociation">
<xsd:complexContent>
<xsd:restriction base="SOAP-ENC:Array">
<xsd:sequence>
<xsd:element maxOccurs="2" minOccurs="2"
name="items" type="xsd:string"/>
</xsd:sequence>
<xsd:attribute ref="SOAP-ENC:arrayType"
wsdl:arrayType="xsd:string[]"/>
</xsd:restriction>
</xsd:complexContent>
</xsd:complexType>
->
Java file:
public class AGDungeonSoapArrayAssociation 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: Axis
> Issue Type: Bug
> Environment: Windows XP Professional, Java 1.4.2_05, 1.2 Beta2
> Reporter: Will Sargent
> Assignee: 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]