Return-Path: Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: (qmail 39537 invoked from network); 11 Feb 2010 01:54:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 11 Feb 2010 01:54:50 -0000 Received: (qmail 69146 invoked by uid 500); 11 Feb 2010 01:54:50 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 69095 invoked by uid 500); 11 Feb 2010 01:54:50 -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 69085 invoked by uid 99); 11 Feb 2010 01:54:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Feb 2010 01:54:50 +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 01:54:49 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 3B60E234C48D for ; Wed, 10 Feb 2010 17:54:29 -0800 (PST) Message-ID: <1837601290.199061265853269241.JavaMail.jira@brutus.apache.org> Date: Thu, 11 Feb 2010 01:54:29 +0000 (UTC) From: "Jara Cesnek (JIRA)" To: issues@cxf.apache.org Subject: [jira] Updated: (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 [ https://issues.apache.org/jira/browse/CXF-2668?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jara Cesnek updated CXF-2668: ----------------------------- Attachment: cxf-jaxws-aegis-testcase.zip Failing TestCase. I borrow AegisJaxWsTest from CXF sources. > 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 > Priority: Blocker > 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.