javaee / metro-jax-ws

https://javaee.github.io/metro-jax-ws/
Other
132 stars 68 forks source link

@WebParam boolean required() #1086

Open glassfishrobot opened 12 years ago

glassfishrobot commented 12 years ago

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]

glassfishrobot commented 12 years ago

Reported by snajper

glassfishrobot commented 7 years ago

This issue was imported from java.net JIRA JAX_WS-1086