how do i make a field mandatory in my WSDL using axis2
posted 4 years ago
I am exposing a simple web service using axis 2.
How do i make sure that the WSDL generates minOccurs=1
I have a method
i want to make sure that data1 is mandatory and data2 is not.
WSDL always generated it as minOccurs=0 on runtime in Axis 2. Can i specify that data1 is mandatory and data2 is not in the code so that it can be reflected in WSDL