Details
Description
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".
Attachments
Attachments
Issue Links
- relates to
-
AXIS2-3300 minOccurs="0" always generated by Java2WSDL - problems with .NET client generation
- Resolved