I know that a java simple type will be mandatory but I want my java class (e.g. String) to be mandatory as well.
How do I do that? Can't find anything in @WebParam
In WSDL, any tag can be made mandatory by making "maxOccurs=1". In POJO classes, check for any JAXB annotation if that provides similar functionality.
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Participation.
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.