Hi,

I'm working with axis 1.4.

I have an issue with a ComplexType.

Actually, I have this definition for a Participation

<xs:complexType name="t_participation">
        <xs:sequence>
                <xs:element ref="tns:chapter" minOccurs="0" 
maxOccurs="unbounded"/>
        </xs:sequence>
</xs:complexType>

When, i generate Java files, i obtain this in classes which use the object 
Participation :

public class T_TemplateResponse  implements java.io.Serializable {
    private com.orange.lab.pmx.ccf.d2r2.sch.T_actionResult actionResult;
 
    private com.orange.lab.pmx.ccf.d2r2.sch.T_chapter[] t_chapters;


The program didn't create a class T_participation. So I have a private 
com.orange.lab.pmx.ccf.d2r2.sch.T_chapter[] t_chapters;
Instead of private com.orange.lab.pmx.ccf.d2r2.sch.T_participation 
t_participation;
Why it take the element inside and not the complextype ?

Is it normal ?

And if yes, can I change this problem ?

Thanks

  • ComplexType in XSD... zze-Projet C&C Foundation LECLERC L ext RD-BIZZ-CAE

Reply via email to