Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 26226 invoked from network); 16 Mar 2007 19:50:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Mar 2007 19:50:33 -0000 Received: (qmail 84752 invoked by uid 500); 16 Mar 2007 19:50:38 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 84704 invoked by uid 500); 16 Mar 2007 19:50:38 -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 84693 invoked by uid 99); 16 Mar 2007 19:50:38 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Mar 2007 12:50:38 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= 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; Fri, 16 Mar 2007 12:50:29 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 420E171407F for ; Fri, 16 Mar 2007 12:50:09 -0700 (PDT) Message-ID: <3269908.1174074609238.JavaMail.jira@brutus> Date: Fri, 16 Mar 2007 12:50:09 -0700 (PDT) From: "Sundry Phillips (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Created: (AXIS-2641) Date Array Problems MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Date Array Problems ------------------- Key: AXIS-2641 URL: https://issues.apache.org/jira/browse/AXIS-2641 Project: Axis Issue Type: Bug Components: Serialization/Deserialization Affects Versions: 1.4 Environment: N/A Reporter: Sundry Phillips Using Axis 1.4 on both sides, if a call is made with a java.util.Date[] array, it is deserialized as a java.util.GregorianCalendar[]. Test Case Client Side: Object[] inputParams = new Object[]{new java.util.Date[] {new java.util.Date(), new java.util.Date()}}; javax.xml.rpc.Service service = ServiceFactory.newInstance().createService(null); Call call = service.createCall(null, operationName); call.setTargetEndpointAddress(endpoint); Object result = call.invoke(inputParams); Server Side void operation(Object[] dates) { for (Object obj: dates) { System.out.println(obj); } } The server will print out two java.util.GregorianDate objects. If you would like, I can dig into the source code and correct. Let me know. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org For additional commands, e-mail: axis-dev-help@ws.apache.org