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?

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top