문제

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