Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 46972 invoked from network); 27 Nov 2005 20:38:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 27 Nov 2005 20:38:26 -0000 Received: (qmail 17682 invoked by uid 500); 27 Nov 2005 20:38:23 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 17647 invoked by uid 500); 27 Nov 2005 20:38:22 -0000 Mailing-List: contact axis-dev-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 17636 invoked by uid 99); 27 Nov 2005 20:38:22 -0000 X-ASF-Spam-Status: No, hits=1.3 required=10.0 tests=SPF_FAIL X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 27 Nov 2005 12:38:21 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id AA30BC9 for ; Sun, 27 Nov 2005 21:38:00 +0100 (CET) Message-ID: <1064671965.1133123880578.JavaMail.jira@ajax.apache.org> Date: Sun, 27 Nov 2005 21:38:00 +0100 (CET) From: "Hans (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Updated: (AXIS-2301) xsd:any is mapped to array of MessageElement while maxOccurs="1" In-Reply-To: <313744467.1131971487955.JavaMail.jira@ajax.apache.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/AXIS-2301?page=all ] Hans updated AXIS-2301: ----------------------- Attachment: patch.diff.txt attached patch - xsd:any with maxOccurs=1 now maps to MessageElement; xsd:any with maxOccurs=2 maps to MessageElement[] patch also includes updates xsd:any testcase. > xsd:any is mapped to array of MessageElement while maxOccurs="1" > ---------------------------------------------------------------- > > Key: AXIS-2301 > URL: http://issues.apache.org/jira/browse/AXIS-2301 > Project: Apache Axis > Type: Bug > Components: WSDL processing > Versions: 1.2.1 > Reporter: Hans > Attachments: anytest.diff.txt, patch.diff.txt > > According to the JAX-RPC 1.1 specification xsd:any should be mapped to an attribute of type javax.xml.soap.SOAPElement when maxOccurs="1", or javax.xml.soap.SOAPElement[] when maxOccurs is greater than 1. However, Axis will always generate an array, regardless of the maxOccurs attribute. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira