Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 46188 invoked from network); 27 Apr 2005 03:11:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 27 Apr 2005 03:11:33 -0000 Received: (qmail 15490 invoked by uid 500); 27 Apr 2005 03:12:17 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 15461 invoked by uid 500); 27 Apr 2005 03:12:16 -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: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 15447 invoked by uid 99); 27 Apr 2005 03:12:16 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 26 Apr 2005 20:12:16 -0700 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 3905F2DE for ; Wed, 27 Apr 2005 05:11:25 +0200 (CEST) Message-ID: <362786245.1114571485231.JavaMail.jira@ajax.apache.org> Date: Wed, 27 Apr 2005 05:11:25 +0200 (CEST) From: "Tim K (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Commented: (AXIS-1942) 1.2RC3: rpc/enc mode, encoding long[] as xsd:anyType broken from 1.2RC2 In-Reply-To: <1307793488.1114027104085.JavaMail.jira@ajax.apache.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/AXIS-1942?page=comments#action_63870 ] Tim K commented on AXIS-1942: ----------------------------- Well, the messages make it back and forth, but the long[] when sent back from the server to the client ends up as an Object[]. Try casting the value of the NamedValue to (long[]) both on the server and on the client. You will see that on the server it works, but on the client it doesn't because it's an Object[] with Long objects inside instead of long[]. Also, look at the messages on the wire, at the encodings and you will see the difference: xsd:long[] vs. xsd:anyType[] > 1.2RC3: rpc/enc mode, encoding long[] as xsd:anyType broken from 1.2RC2 > ----------------------------------------------------------------------- > > Key: AXIS-1942 > URL: http://issues.apache.org/jira/browse/AXIS-1942 > Project: Axis > Type: Bug > Versions: 1.2RC3 > Environment: Tried 1.2RC3 official release, and also 1.2RC3 current nightly build > Reporter: Tim K > Priority: Blocker > Attachments: RemoteLoginManager.wsdl > > NOTE: This is a regression from 1.2RC2 Things used to work correctly in RC2 but they are broken in RC3 both the official release and the current nightly builds. > rpc/enc mode, I have a type: > > > > > > > When for value the *client* side of Axis sends a long[] it gets *properly* encoded as xsd:long[], as in: > nv1 > > > > > > > > The cast of the value to long[] works perfectly on the server side, the server correctly creates a long[]. > BUT, when the *server* side of Axis sends a long[] it gets *incorrectly* encoded as xsd:anyType[], as in: > nv1 > > > > > > > > The client then gets an Object[] back from the server and the cast to (long[]) obviously fails. > Note that only the *server* side is broken. > NOTE: This is a regression from 1.2RC2 Things used to work correctly in RC2 but they are broken in RC3 both the official release and the current nightly builds. > This is a blocker bug as it is a regression and the behavior is not correct and different between the client and server code of Axis. -- 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