Return-Path: Delivered-To: apmail-incubator-cxf-issues-archive@locus.apache.org Received: (qmail 17618 invoked from network); 5 Jun 2007 05:01:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Jun 2007 05:01:53 -0000 Received: (qmail 82241 invoked by uid 500); 5 Jun 2007 05:01:56 -0000 Delivered-To: apmail-incubator-cxf-issues-archive@incubator.apache.org Received: (qmail 82215 invoked by uid 500); 5 Jun 2007 05:01:56 -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 82206 invoked by uid 99); 5 Jun 2007 05:01:56 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Jun 2007 22:01:56 -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; Mon, 04 Jun 2007 22:01:49 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 49B3F4297CD for ; Mon, 4 Jun 2007 22:01:29 -0700 (PDT) Message-ID: <20739663.1181019689283.JavaMail.jira@brutus> Date: Mon, 4 Jun 2007 22:01:29 -0700 (PDT) From: "jimma (JIRA)" To: cxf-issues@incubator.apache.org Subject: [jira] Resolved: (CXF-627) WSDL2Java JAXWS frontend does not handle enableAsyncMapping for non-Java-named operations In-Reply-To: <20617585.1178135295506.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-627?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] jimma resolved CXF-627. ----------------------- Resolution: Fixed > WSDL2Java JAXWS frontend does not handle enableAsyncMapping for non-Java-named operations > ----------------------------------------------------------------------------------------- > > Key: CXF-627 > URL: https://issues.apache.org/jira/browse/CXF-627 > Project: CXF > Issue Type: Bug > Components: Tooling > Affects Versions: 2.0-RC > Environment: NA > Reporter: Steven E. Harris > Assignee: jimma > Fix For: 2.0 > > > Per the discussing on the cxf-user mailing list in the thread entitled > JAX-WS enableAsyncMapping directive not respected > http://www.nabble.com/Re%3A-JAX-WS-enableAsyncMapping-directive-not-respected-p10292965.html > the class org.apache.cxf.tools.wsdlto.frontend.jaxws.processor.internal.OperationProcessor uses a method called isAddedAsyMethod() to determine whether it has already defined an asynchronous method for a given operation name. Its detection heuristic fails for operation names that don't conform to the Java naming conventions. > For example, an operation name "some-op" will get munged into the Java name "someOp". The isAddedAsyMethod() heuristic looks to see if there are two methods in an interface that share the same operation name, but differ from the operation name in method name -- when dropped to lowercase. My example here meets that criteria, but does not constitute an "extra" asynchronous method being present. It's just tripping on the mistaken assumption that an operation name and method name will be the same save for case. > We need a better collision detection heuristic here -- perhaps one that takes the operation name-to-Java name munging into account. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.