Return-Path: X-Original-To: apmail-cxf-issues-archive@www.apache.org Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B6C4A9B95 for ; Tue, 21 Feb 2012 16:10:59 +0000 (UTC) Received: (qmail 97888 invoked by uid 500); 21 Feb 2012 16:10:59 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 97586 invoked by uid 500); 21 Feb 2012 16:10:59 -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 97498 invoked by uid 99); 21 Feb 2012 16:10:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Feb 2012 16:10:59 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Feb 2012 16:10:54 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id B1A543326A6 for ; Tue, 21 Feb 2012 16:10:34 +0000 (UTC) Date: Tue, 21 Feb 2012 16:10:34 +0000 (UTC) From: "David Portabella (Commented) (JIRA)" To: issues@cxf.apache.org Message-ID: <1907113383.6284.1329840634729.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <278085342.33990.1326364359545.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (CXF-4026) SOAP re-declaring qname inside body 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-4026?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13212695#comment-13212695 ] David Portabella commented on CXF-4026: --------------------------------------- Hi, the above test still shows the problem in our environment, but it's a bit difficult to isolate it to have a compact test case. Instead, I'll try to build a test case showing the problem starting from a simple test case. I see that you already have a simple test that accepts an XSD type through a POST. apache-cxf-2.5.2-src/testutils/src/main/java/org/apache/cxf/customer/wraped/CustomerService.java I'll modify this test until I get the same problem as before. how do I run this test? can I run it without deploying it to an application server? Regards, David > SOAP re-declaring qname inside body > ------------------------------------ > > Key: CXF-4026 > URL: https://issues.apache.org/jira/browse/CXF-4026 > Project: CXF > Issue Type: Bug > Reporter: David Portabella > Priority: Minor > Fix For: NeedMoreInfo > > > This request fails on CXF: > xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" > xmlns:myqname="http://example.com/hello" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> > > > > ... > > > > with the error: > > > > soap:Client > Unmarshalling Error: UndeclaredPrefix: Cannot resolve 'myqname:MyRequest' as a QName: the prefix 'myqname' is not declared. > > > > However, if I re-define the myqname inside the body node, then it works. > xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" > xmlns:myqname="http://example.com/hello" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> > > > > ... > > > > Is this a bug from CXF? -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira