[ https://issues.apache.org/jira/browse/AXIS2-3655?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sagara Gunathunga resolved AXIS2-3655. --------------------------------------- Resolution: Fixed Fix Version/s: 1.7.0 Fixed with AXIS2-5090. > Improper WSDL generation > ------------------------ > > Key: AXIS2-3655 > URL: https://issues.apache.org/jira/browse/AXIS2-3655 > Project: Axis2 > Issue Type: Bug > Components: wsdl > Affects Versions: 1.3 > Environment: I used Axis2 v1.3 on JBossAS v4.0.5 running on Java > 1.6.0_03. I used Windows XP. > Reporter: Nate Roe > Assignee: Sagara Gunathunga > Fix For: 1.7.0 > > Attachments: PersonExpample.zip > > > I have create a POJO service that returns a List<Person>. > The WSDL that is generated describes the service like so: > <xs:element name="getPeopleResponse"> > <xs:complexType> > <xs:sequence> > <xs:element minOccurs="0" name="return" > nillable="true" type="xs:anyType"/> > </xs:sequence> > </xs:complexType> > </xs:element> > whereas the element should probably actually state: > <xs:element minOccurs="0" maxOccurs="unbounded" name="return" nillable="true" > type="ns0:Person"/> > That is, there should be "maxOccurs="unbounded"" and the type should be > "ns0:Person" instead of "xs:anyType". -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org For additional commands, e-mail: java-dev-h...@axis.apache.org