Return-Path: Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: (qmail 80827 invoked from network); 16 Nov 2010 19:26:03 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 16 Nov 2010 19:26:03 -0000 Received: (qmail 29241 invoked by uid 500); 16 Nov 2010 19:26:35 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 29221 invoked by uid 500); 16 Nov 2010 19:26:35 -0000 Mailing-List: contact issues-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list issues@cxf.apache.org Received: (qmail 29213 invoked by uid 99); 16 Nov 2010 19:26:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Nov 2010 19:26:35 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Nov 2010 19:26:34 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oAGJQENb012246 for ; Tue, 16 Nov 2010 19:26:14 GMT Message-ID: <12475065.122631289935574369.JavaMail.jira@thor> Date: Tue, 16 Nov 2010 14:26:14 -0500 (EST) From: "Daniel Kulp (JIRA)" To: issues@cxf.apache.org Subject: [jira] Commented: (CXF-3128) @WebMethod(exclude=true) is not being honoured when generating WSDL In-Reply-To: <7152217.106331289906593813.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CXF-3128?page=3Dcom.atlassian.j= ira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D129326= 10#action_12932610 ]=20 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: =E2=80=A2 Any of its methods MAY carry a javax.jws.WebMethod annotation (se= e 7.11.2). =E2=80=A2 javax.jws.WebMethod if used, MUST NOT have the exclude element se= t to true. Thus, it would be a violation of the spec to have the exclude=3Dtrue on the= SEI interface method. Thus, it must be in the implementation method. > @WebMethod(exclude=3Dtrue) 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 WSD= L file from my Java source code. I have annotated the method with @WebMeth= od(exclude=3Dtrue), however it is still appearing in the WSDL file. --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.