Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 60872 invoked from network); 23 Mar 2007 14:24:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Mar 2007 14:24:56 -0000 Received: (qmail 32904 invoked by uid 500); 23 Mar 2007 14:25:00 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 32859 invoked by uid 500); 23 Mar 2007 14:25:00 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 32848 invoked by uid 99); 23 Mar 2007 14:25:00 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Mar 2007 07:25:00 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= 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; Fri, 23 Mar 2007 07:24:52 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 313C5714057 for ; Fri, 23 Mar 2007 07:24:32 -0700 (PDT) Message-ID: <20706758.1174659872179.JavaMail.jira@brutus> Date: Fri, 23 Mar 2007 07:24:32 -0700 (PDT) From: "Jarek Gawor (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Created: (GERONIMO-3006) WebServiceRef injection ignored .value attribute MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org WebServiceRef injection ignored .value attribute ------------------------------------------------ Key: GERONIMO-3006 URL: https://issues.apache.org/jira/browse/GERONIMO-3006 Project: Geronimo Issue Type: Bug Security Level: public (Regular issues) Components: webservices Reporter: Jarek Gawor WebServiceRef annotation can be defined as the following: @WebServiceRef(name="accounting", value=AccountingService.class) AccountingPortType foo; or @WebServiceRef(name="accounting" AccountingService.class) AccountingPortType foo; Currently, the above annotations will result in the following error message: AccountingPortType does not extend javax.xml.rpc.Service or javax.xml.ws.Service at org.apache.geronimo.naming.deployment.SwitchingServiceRefBuilder.buildNaming(SwitchingServiceRefBuilder.java:130) Which looks like the WebServiceRef.value is ignored and the service-ref is created incorrectly (service-interface should be set to AccountingService class and service-ref-type should be set to AccountingPortType class) Section 4.2.2 in JSR 109 to see how exactly the WebServiceRef annotation attributes are translated into the DD. Also, section 7.9 in JAXWS 2.0 might be helpful. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.