I\'m building web service using JAX-WS. I have a strange problem that the annotation @XmlElement(required=true) for @WebParam works in some @
@XmlElement(required=true)
@WebParam
@
Adding @XmlElement(required=true,nillable=false) after @WebParam solved my similar problem. Using CXF 2.7.9. Did not try putting @XmlElement first, could it be that simple?
@XmlElement(required=true,nillable=false)
@XmlElement