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?

有帮助吗?

解决方案

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.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top