JAX-WS supports "Java first" approach. Currently, the non-primitive parameters of a WebMethod are marked minOccurs="0" in a generated WSDL, even when I want them to be mandatory in the WSDL.
Proposal: additional parameter "required".
@Target(
{PARAMETER}
)
public @interface WebParam {
...
boolean required() default false;
JAX-WS supports "Java first" approach. Currently, the non-primitive parameters of a WebMethod are marked minOccurs="0" in a generated WSDL, even when I want them to be mandatory in the WSDL. Proposal: additional parameter "required".
@Target(
{PARAMETER}
) public @interface WebParam { ... boolean required() default false;
Affected Versions
[current]