Return-Path: Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: (qmail 20333 invoked from network); 20 Dec 2010 11:55:27 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 20 Dec 2010 11:55:27 -0000 Received: (qmail 39456 invoked by uid 500); 20 Dec 2010 11:55:27 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 39352 invoked by uid 500); 20 Dec 2010 11:55:27 -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 39344 invoked by uid 99); 20 Dec 2010 11:55:26 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Dec 2010 11:55:26 +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.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Dec 2010 11:55:24 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oBKBt2rA025525 for ; Mon, 20 Dec 2010 11:55:02 GMT Message-ID: <25147105.213001292846102371.JavaMail.jira@thor> Date: Mon, 20 Dec 2010 06:55:02 -0500 (EST) From: "Freeman Fang (JIRA)" To: issues@cxf.apache.org Subject: [jira] Commented: (CXF-2810) Wrong namespaces in WSDL - 2.2.6 OK, 2.2.7 and 2.2.8 BROKEN 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-2810?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12973175#action_12973175 ] Freeman Fang commented on CXF-2810: ----------------------------------- need change Java5TypeCreator little bit to set correct schema namespace, also honor the fix for CXF-2673. > Wrong namespaces in WSDL - 2.2.6 OK, 2.2.7 and 2.2.8 BROKEN > ----------------------------------------------------------- > > Key: CXF-2810 > URL: https://issues.apache.org/jira/browse/CXF-2810 > Project: CXF > Issue Type: Bug > Components: Aegis Databinding, Core > Affects Versions: 2.2.7, 2.2.8, 2.2.12, 2.3.1 > Reporter: Jara Cesnek > Assignee: Freeman Fang > Priority: Blocker > Attachments: CXF-2810-testcase.zip, CXF-2810.test > > > In WSDL there is wrong namespaces on arguments. > Version 2.2.6 and below is OK, 2.2.7 and 2.2.8 generate invalid WSDL. > 2.2.6 OK > {code} > > > > > > ? > > > ? > ? > > > > ? > > > > {code} > 2.2.7 WRONG - there is "wo" namespace from java package > {code} > > > > > > ? > > > ? > ? > > > > ? > > > > {code} > If I call WS from SOAPUI, all values shows as NULL. When I modify SOAPUI XML - replace wo with v2 - WS start working. > *So CXF expects "v2" namespace in request XML, but in WSDL generate "wo" namespace.* > Server code: > {code} > JaxWsServerFactoryBean serverFactoryBean = new JaxWsServerFactoryBean(); > serverFactoryBean.setServiceClass(AopUtils.getTargetClass(implementor)); > serverFactoryBean.setServiceBean(implementor); > serverFactoryBean.setDataBinding(new AegisDatabinding()); > serverFactoryBean.setAddress(url); > serverFactoryBean.setBus(cxfServlet.getBus()); > serverFactoryBean.create(); > {code} > Interface: > {code} > @WebService(name = "aa_smlouva_v2_0_0", targetNamespace = "http://v2_0_0.smlouva.ws.aa.marbes.cz") > public interface AaSmlouvaWS { > @WebMethod > public WOrepeatable_result updateSmlouvy ( > @WebParam(name = "smlouva") WOAaSmlouva smlouva, > @WebParam(name = "idempotentGuid") String idempotentGuid > ); > } > @org.apache.cxf.aegis.type.java5.XmlType(name = "AaSmlouva", namespace = "http://v2_0_0.smlouva.ws.aa.marbes.cz") > public class WOAaSmlouva { > ... > } > {code} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.