metro-jax-ws icon indicating copy to clipboard operation
metro-jax-ws copied to clipboard

@WebParam boolean required()

Open Tomas-Kraus opened this issue 3 years ago • 0 comments

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

Tomas-Kraus avatar Jun 02 '22 17:06 Tomas-Kraus