Hello. I have a web module which i have wsdl files in it.
When i create a wsdl file automatically from my
java code; there is an element like this
<element name="myNumber" type="xsd:int" />
But i want this element not to be mandatory so i do this like this,
<element name="myNumber" minOccurs="0" type="xsd:int" />
When i export an EAR file from my project the type myNumber deletes the propert minOccurs and becomes
<element name="myNumber" type="xsd:int" />
How can i add minOccurs property when i am creating the WSDL file automatically?