axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luis Novais" <>
Subject Problem with wsdl2java generator
Date Wed, 13 Mar 2002 16:08:40 GMT

With the utility wsdl2java of 17 of February, based on this portion of the schema


      <xs:element name="securityOut" minOccurs="0">
        <xs:all minOccurs="0">
         <xs:element name="codePositions" type="CodePositionsType" minOccurs="0">
           <xs:documentation>3 random positions from a securitycode</xs:documentation>

 <xs:complexType name="CodePositionsType">
  <xs:sequence minOccurs="3" maxOccurs="3">
   <xs:element name="position">
     <xs:restriction base="xs:byte">
      <xs:minInclusive value="1"/>
      <xs:maxInclusive value="7"/>

the code produced was 

public class SecurityOut implements {
    private pt.mycompany.system.CodePositionsType[] codePositions;


With the wsdl2java of 12 March the code produced is 

public class SecurityOut implements {
    private pt.bcp.cidadebcp.webservices.system.CodePositionsType codePositions;


This mean, without the array

I supose the first one is the correct one.
Any comments about this would be apreciated.

Luis Novais

View raw message