Read the below articles for details
Making a web service request parameter a required field
How can I make a WebMethod parameter required
XmlElement annotation dissallowed with WebParam
To put it simply, you need to use the @XmlElement(required=true)
for more details refer to the above posts.
Type or param of web-service method marked in WSDL as non-nullable
-
09-07-2023 - |
Question
How to make type that will marked in WSDL as non-nullable?
if the above is impossible, How to describe param of web-service method that it will marked in WSDL as non-nullable?
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow