Return-Path: Delivered-To: apmail-incubator-cxf-issues-archive@locus.apache.org Received: (qmail 19724 invoked from network); 1 Aug 2007 14:36:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Aug 2007 14:36:14 -0000 Received: (qmail 26576 invoked by uid 500); 1 Aug 2007 14:36:14 -0000 Delivered-To: apmail-incubator-cxf-issues-archive@incubator.apache.org Received: (qmail 26513 invoked by uid 500); 1 Aug 2007 14:36:14 -0000 Mailing-List: contact cxf-issues-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cxf-dev@incubator.apache.org Delivered-To: mailing list cxf-issues@incubator.apache.org Received: (qmail 26504 invoked by uid 99); 1 Aug 2007 14:36:14 -0000 Received: from Unknown (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Aug 2007 07:36:14 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Aug 2007 14:36:08 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 02A82714187 for ; Wed, 1 Aug 2007 07:35:53 -0700 (PDT) Message-ID: <10678785.1185978953007.JavaMail.jira@brutus> Date: Wed, 1 Aug 2007 07:35:53 -0700 (PDT) From: "Daniel Kulp (JIRA)" To: cxf-issues@incubator.apache.org Subject: [jira] Resolved: (CXF-870) WebService methods generated from implementation instead of interface In-Reply-To: <31652886.1185966077739.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CXF-870?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Daniel Kulp resolved CXF-870. ----------------------------- Resolution: Duplicate Assignee: Daniel Kulp Duplicate of CXF-813 which is fixed on trunk (and will make it into 2.0.1) > WebService methods generated from implementation instead of interface > --------------------------------------------------------------------- > > Key: CXF-870 > URL: https://issues.apache.org/jira/browse/CXF-870 > Project: CXF > Issue Type: Bug > Affects Versions: 2.0 > Environment: CXF 2.0, Spring 2, JAX-WS > Reporter: Allard Buijze > Assignee: Daniel Kulp > Priority: Minor > Fix For: 2.0.1 > > > -- Description of problem -- > When CXF creates a service provider for a given JAX-WS-annotated (implementation) class, it tries to create a WebService operation for each method in that implementation class. > In the case of a spring bean, there could be getter and setter methods. CXF will fail in creating WS operations from these methods and fail to publish the service. > -- Suggested solution -- > The solution to this problem would be to only generate WS operations from the methods in the interface(s) the class implements. > An example of a spring context that will cause CXF to fail is as follows: > > > > > -- Workaround -- > A workaround to the problem can be to use constructor injection. This removes the need for setter methods. > The following spring context shows how this can be done: > > > < > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.