Vra

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 dit nuttig?

Oplossing

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.

Gelisensieer onder: CC-BY-SA met toeskrywing
Nie verbonde aan StackOverflow
scroll top