1

When we don't declare any minOccurs and maxOccurs in WSDL declaration is that taking default values? or is that ignore minOccurs and maxOccurs values?

user207421
  • 289,834
  • 37
  • 266
  • 440
  • 1
    See [XML Schema minOccurs / maxOccurs default values](https://stackoverflow.com/questions/4821477/xml-schema-minoccurs-maxoccurs-default-values) – kjhughes Apr 17 '20 at 13:48

1 Answers1

2

Yes thats true. The default values for minOccurs and maxOccurs are 1. Also not that when you provide only minOccurance attribute, then it can not be greater than 1, as the default value for maxOccurance is 1 and vice versa.

Also check the reference.

Rahul Tripathi
  • 152,732
  • 28
  • 233
  • 299