Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 64770 invoked from network); 2 Aug 2006 01:57:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 2 Aug 2006 01:57:52 -0000 Received: (qmail 39721 invoked by uid 500); 2 Aug 2006 01:57:47 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 39673 invoked by uid 500); 2 Aug 2006 01:57:47 -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 39661 invoked by uid 99); 2 Aug 2006 01:57:47 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Aug 2006 18:57:47 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Aug 2006 18:57:46 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id AA955410023 for ; Wed, 2 Aug 2006 01:55:14 +0000 (GMT) Message-ID: <22888347.1154483714695.JavaMail.jira@brutus> Date: Tue, 1 Aug 2006 18:55:14 -0700 (PDT) From: "William Ferguson (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Created: (AXIS2-959) AxisFault when passing an array containing no elements 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 AxisFault when passing an array containing no elements ------------------------------------------------------ Key: AXIS2-959 URL: http://issues.apache.org/jira/browse/AXIS2-959 Project: Apache Axis 2.0 (Axis2) Issue Type: Bug Affects Versions: 1.0 Reporter: William Ferguson I have a service that accept an array of int as input and returns the number of elements in the array. The service + services. xml is deployed and the WSDL is retrieved from the AxisServlet. (source + WSDL attached). I generate the stubs and ADB classes using : I then have a TestCase that exercises the method. If 0 elements are specified it serializes OK. The Soap enevelope is : but causes an AxisFault (see attached testCase output) -- 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 --------------------------------------------------------------------- To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org For additional commands, e-mail: axis-dev-help@ws.apache.org