I\'m building web service using JAX-WS. I have a strange problem that the annotation @XmlElement(required=true) for @WebParam works in some @
You try change the order in @WebParam and @XmlElement? actually i have a WS whit this:
public Persona consultarPersona(@WebParam(name = "cedula") @XmlElement(required=true, nillable=false, name="cedula", namespace="cedulaParam") String cedula)
And the description generate is:
and the schema definition:
that's it!!