Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 35417 invoked from network); 15 Feb 2005 07:12:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 15 Feb 2005 07:12:19 -0000 Received: (qmail 52767 invoked by uid 500); 15 Feb 2005 07:12:16 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 52732 invoked by uid 500); 15 Feb 2005 07: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 52718 invoked by uid 99); 15 Feb 2005 07: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; Mon, 14 Feb 2005 23:12:14 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (8.12.11/8.12.11) with ESMTP id j1F7CBNM020693 for ; Tue, 15 Feb 2005 08:12:11 +0100 Message-ID: <675880196.1108451531881.JavaMail.jira@ajax.apache.org> Date: Tue, 15 Feb 2005 08:12:11 +0100 (CET) From: "Ashutosh Shahi (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Commented: (AXIS-1817) MessageElement.getValue doesn't do XML decoding In-Reply-To: <7528154.1108424535549.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-2.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/AXIS-1817?page=comments#action_59185 ] Ashutosh Shahi commented on AXIS-1817: -------------------------------------- While you are at this one, can you also look at AXIS-1417 which also is related to special characters. I have already sumitted a patch for that one. Ashutosh > MessageElement.getValue doesn't do XML decoding > ----------------------------------------------- > > Key: AXIS-1817 > URL: http://issues.apache.org/jira/browse/AXIS-1817 > Project: Axis > Type: Bug > Components: Serialization/Deserialization > Versions: 1.2RC2 > Environment: XP / JDK 1.4.x / > Reporter: Simon Fell > Assignee: Venkat Reddy > > This actually with the 1.2 RC3 > If the WSDL contains a element, this is mapped to a MessageElement [], in Axis 1.1 calling getValue on one of these MessageElement's would return the contents of the element post XML processing, in Axis 1.2 RC3 it seems to be returning the raw data, e.g. if the response element is > A>B > In Axis 1.1, getValue() returns "A>B" but Axis 1.2 returns "A>B" > There's a test service at http://soap.4s4c.com/dotnet/any.wsdl > here's some client code to call it. > AnyServiceLocator loc = new AnyServiceLocator(); > Soap svc = loc.getSoap(); > > QueryResult qr = svc.query("blah"); > > for (int i =0; i < qr.getRecords().length; i++ ) { > SObject s = qr.getRecords(i); > MessageElement [] e= s.get_any(); > System.out.println("MessageElement array size is " + e.length); > for (int j = 0; j < e.length; j++ ){ > System.out.print(" " + e[j].getValue()); > } > System.out.println(""); > } -- 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 - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira