axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [jira] Created: (AXIS-1586) unbound choice do not return array type
Date Mon, 04 Oct 2004 23:53:32 GMT

  A new issue has been created in JIRA.

View the issue:

Here is an overview of the issue:
        Key: AXIS-1586
    Summary: unbound choice do not return array type
       Type: Bug

     Status: Unassigned
   Priority: Major

    Project: Axis
             Basic Architecture

   Reporter: Valdis Victor Vitayaudom

    Created: Mon, 4 Oct 2004 4:52 PM
    Updated: Mon, 4 Oct 2004 4:52 PM
Environment: fedora using java j2sdk1.4.2_05

<xs:element name="PNR">
	<xs:element name="Segments">
		<xs:choice maxOccurs="unbounded">
		<xs:element ref="MiscSegment"/>
		<xs:element ref="AirSegment"/>
		<xs:element ref="ArvlUnknSegment"/>

the schema above is not properly reflect in the WSDL-2-Java.
It creates a PNR class where getPNRSegments() is not an array
of unbound choices.

public class PNR  implements {

    public com.g2switch.wsdl.PNRSegments getSegments() {
        return segments;

public class PNRSegments  implements {
    private com.g2switch.wsdl.MiscSegment miscSegment;
    private com.g2switch.wsdl.AirSegment airSegment;
    private com.g2switch.wsdl.ArvlUnknSegment arvlUnknSegment;

    public PNRSegments() {

    public PNRSegments(
           com.g2switch.wsdl.MiscSegment miscSegment,
           com.g2switch.wsdl.AirSegment airSegment,
           com.g2switch.wsdl.ArvlUnknSegment arvlUnknSegment) {
           this.miscSegment = miscSegment;
           this.airSegment = airSegment;
           this.arvlUnknSegment = arvlUnknSegment;

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