Return-Path: Delivered-To: apmail-incubator-cxf-issues-archive@locus.apache.org Received: (qmail 86157 invoked from network); 28 Jan 2008 21:28:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Jan 2008 21:28:06 -0000 Received: (qmail 9545 invoked by uid 500); 28 Jan 2008 21:27:57 -0000 Delivered-To: apmail-incubator-cxf-issues-archive@incubator.apache.org Received: (qmail 9468 invoked by uid 500); 28 Jan 2008 21:27:56 -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 9459 invoked by uid 99); 28 Jan 2008 21:27:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Jan 2008 13:27:56 -0800 X-ASF-Spam-Status: No, hits=-98.5 required=10.0 tests=ALL_TRUSTED,WEIRD_PORT 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; Mon, 28 Jan 2008 21:27:27 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 45CC171425E for ; Mon, 28 Jan 2008 13:27:34 -0800 (PST) Message-ID: <11689924.1201555654279.JavaMail.jira@brutus> Date: Mon, 28 Jan 2008 13:27:34 -0800 (PST) From: "Marco Piraccini (JIRA)" To: cxf-issues@incubator.apache.org Subject: [jira] Commented: (CXF-1407) Item element with xmlns="" in Exception with arrays of compex objects In-Reply-To: <17285175.1201464215164.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CXF-1407?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12563292#action_12563292 ] Marco Piraccini commented on CXF-1407: -------------------------------------- ...mmm..i'dont understand why annotations are invalid (really, can you give me a spec reference?), but i think that the real strange point is that the CXF behaviour is different after i asked the wsdl. Anyway, if i try with: @XmlAccessorType(XmlAccessType.PROPERTY) public class ComplexException extends org.omg.CORBA.UserException { public String reason; public MyBean[] beans; public String getReason() { return reason; } public void setReason(String reason) { this.reason = reason; } public MyBean[] getBeans() { return beans; } public void setBeans(MyBean[] beans) { this.beans = beans; } That's different from your example (the variables are public and not private), the returned message is correct, but mapped twice. There something wrong in my annotations? Marco. > Item element with xmlns="" in Exception with arrays of compex objects > --------------------------------------------------------------------- > > Key: CXF-1407 > URL: https://issues.apache.org/jira/browse/CXF-1407 > Project: CXF > Issue Type: Bug > Affects Versions: 2.0.4 > Environment: Linux, java1.6.0_02 > Reporter: Marco Piraccini > Attachments: TestFault.zip > > > Consider an exception with an array of objects. If i send a soap message: > > > > > test > > > > The answer is: > > (...) > > Test > > > 0 > Marco > > > > (...) > > Notice that the item element is with no namespace (correct). > The problem is that, after the first soap message sent, if i request the service wsdl (for example pointing the browser at http://localhost:9000/helloWorld?wsdl), all the subsequent answers are with a different (and wrong) response: > > (...) > > Test > > > 0 > Marco > > > > (...) > > In the attachment there is a simple project to reproduce the problem. > Marco. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.