Return-Path: Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: (qmail 63680 invoked from network); 11 Feb 2010 19:22:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 11 Feb 2010 19:22:56 -0000 Received: (qmail 54710 invoked by uid 500); 11 Feb 2010 19:22:55 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 54479 invoked by uid 500); 11 Feb 2010 19:22:54 -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 54366 invoked by uid 99); 11 Feb 2010 19:22:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Feb 2010 19:22:54 +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.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Feb 2010 19:22:50 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id A364B29A0016 for ; Thu, 11 Feb 2010 11:22:29 -0800 (PST) Message-ID: <406141343.213611265916149667.JavaMail.jira@brutus.apache.org> Date: Thu, 11 Feb 2010 19:22:29 +0000 (UTC) From: "Daniel Kulp (JIRA)" To: issues@cxf.apache.org Subject: [jira] Resolved: (CXF-2668) JaxWsProxyFactoryBean and JaxWsServerFactoryBean communication broken In-Reply-To: <156107995.182431265819127949.JavaMail.jira@brutus.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CXF-2668?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Daniel Kulp resolved CXF-2668. ------------------------------ Resolution: Fixed Fix Version/s: 2.2.7 Assignee: Daniel Kulp > JaxWsProxyFactoryBean and JaxWsServerFactoryBean communication broken > --------------------------------------------------------------------- > > Key: CXF-2668 > URL: https://issues.apache.org/jira/browse/CXF-2668 > Project: CXF > Issue Type: Bug > Components: Aegis Databinding, JAX-WS Runtime > Affects Versions: 2.1.9, 2.2.6 > Reporter: Jara Cesnek > Assignee: Daniel Kulp > Priority: Blocker > Fix For: 2.2.7 > > Attachments: cxf-jaxws-aegis-testcase.zip > > > When using JaxWsProxyFactoryBean and JaxWsServerFactoryBean with AegisDataBinding some interfaces is broken and all methods call result in NULL. > When contract interface contains method with return type "List" then client assume wrong namespace and all method call is broken. > When I change "List" to "List" all working fine. > Server code: > {code} > JaxWsServerFactoryBean serverFactoryBean = new JaxWsServerFactoryBean(); > serverFactoryBean.setServiceClass(AopUtils.getTargetClass(implementor)); //WSImpl.class > serverFactoryBean.setServiceBean(implementor); //WSImpl.class > serverFactoryBean.setDataBinding(new AegisDatabinding()); > serverFactoryBean.setAddress(url); > serverFactoryBean.setBus(cxfServlet.getBus()); > serverFactoryBean.create(); > {code} > Client code: > {code} > JaxWsProxyFactoryBean factory = new JaxWsProxyFactoryBean(); > factory.setServiceClass(resultInterfaceClass); //WS.class > factory.setAddress(asURL); > factory.setDataBinding(new AegisDatabinding()); > Object remoteInterfaceImpl = factory.create(); > {code} > Interface: > {code} > @WebService(name="datove_zdroje", targetNamespace="http://ns1") > public interface WS { > List getCodes(@WebParam(name = "baseCode") String baseCode); > } > {code} > Implementation: > {code} > @WebService(serviceName = "datove_zdroje", endpointInterface = "cz.marbes.daisy.modules.doc.ws.v1_0_0.WS") > public class WSImpl implements WS { > @Override > public List getCodes(final String baseCode) { > return new ArrayList(); > } > } > {code} > This is a general error in CXF client that assume wrong namespaces. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.