Return-Path: Delivered-To: apmail-incubator-cxf-issues-archive@locus.apache.org Received: (qmail 78891 invoked from network); 27 Dec 2006 05:49:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Dec 2006 05:49:00 -0000 Received: (qmail 38060 invoked by uid 500); 27 Dec 2006 05:49:07 -0000 Delivered-To: apmail-incubator-cxf-issues-archive@incubator.apache.org Received: (qmail 38055 invoked by uid 500); 27 Dec 2006 05:49:07 -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 38045 invoked by uid 99); 27 Dec 2006 05:49:07 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Dec 2006 21:49:07 -0800 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; Tue, 26 Dec 2006 21:49:00 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 0ED8E7142B8 for ; Tue, 26 Dec 2006 21:48:21 -0800 (PST) Message-ID: <20790358.1167198501057.JavaMail.jira@brutus> Date: Tue, 26 Dec 2006 21:48:21 -0800 (PST) From: "Bharath Ganesh (JIRA)" To: cxf-issues@incubator.apache.org Subject: [jira] Created: (CXF-336) JAX-WS Handler on client side not working MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org JAX-WS Handler on client side not working ----------------------------------------- Key: CXF-336 URL: http://issues.apache.org/jira/browse/CXF-336 Project: CXF Issue Type: Bug Components: JAX-WS Runtime Affects Versions: 2.0-M1 Reporter: Bharath Ganesh After the JAX-WS portable artifacts on client side are generated with the WSDLtoJava tool, if JAX-WS handlers are set on the generated service class, the handlers are not invoked by the CXF client runtime. The handlers are set using the Service API (service.setHandlerResolver()) The same works fine if i set the handler like: ((BindingProvider)port).getBinding().getHandlerChain().add(new MySOAPHandler()); whereas the following does not work: service.setHandlerResolver(new MyHandlerResolver()); //where MyHandlerResolver would add MySOAPHandler to the chain. port=service.getXXXPort(); port.sayXXX(); Also if the handlers are set with the @HandlerChain annotation of the generated service class at client side, they are not picked up. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira