metro-jax-ws
metro-jax-ws copied to clipboard
@WebParam boolean required()
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]
Source: https://github.com/javaee/metro-jax-ws/issues/1086 Author: glassfishrobot