1
votes

I am creating a SOAP web services using Axis2 and in the response I am returning a complex type. When Axis2 generated the wsdl, it assigns 1 to minOccurs however the maxOccurs is no where to be found. Does this mean that the missing maxOccurs is unbounded or is it some default value like 1.

2

2 Answers

2
votes

As written here in w3cshool, it's 1

1
votes

The default value for both the minOccurs and the maxOccurs attributes is 1

from

XML Schema Part 0: Primer Second Edition