[
https://issues.apache.org/jira/browse/CXF-3128?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12932610#action_12932610
]
Daniel Kulp commented on CXF-3128:
----------------------------------
Actually, this turns out to be correct. I checked the JAX-WS spec and it
specifically states that the methods on the SEI:
• Any of its methods MAY carry a javax.jws.WebMethod annotation (see 7.11.2).
• javax.jws.WebMethod if used, MUST NOT have the exclude element set to true.
Thus, it would be a violation of the spec to have the exclude=true on the SEI
interface method. Thus, it must be in the implementation method.
> @WebMethod(exclude=true) is not being honoured when generating WSDL
> -------------------------------------------------------------------
>
> Key: CXF-3128
> URL: https://issues.apache.org/jira/browse/CXF-3128
> Project: CXF
> Issue Type: Bug
> Affects Versions: 2.3.0
> Reporter: Jacob Carter
> Assignee: Daniel Kulp
>
> I am attempting to prevent a public method appearing in the generated WSDL
> file from my Java source code. I have annotated the method with
> @WebMethod(exclude=true), however it is still appearing in the WSDL file.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.