axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Shah <>
Subject Array in axis 2
Date Thu, 21 Jun 2007 02:33:17 GMT
I am writing a doc literal wsdl. I have an issue with creating an array of objects. I have
an element 'a' and another element 'b' which is an array of objects 'a'. WSDL2JAVA gives me

  WARNING: Type {}a missing!
  Here are the wsdl snippets:
              <xsd:element name="a">
                        <xsd:element minOccurs="0" name="str" type="xsd:string" />
                        <xsd:element minOccurs="0" name="num" type="xsd:int" />
     <xsd:element name="b">
             <xsd:element minOccurs="0" maxOccurs="unbounded" name="p" type="ns1:a"/>
  ns1 is defined in the definitions as xmlns:ns1=""
  If I specify type="a", that doesn't work either and I get the same warning. 
  ANy help will be appreciated.

Fussy? Opinionated? Impossible to please? Perfect.  Join Yahoo!'s user panel and lay it on
View raw message