Return-Path: X-Original-To: apmail-axis-java-dev-archive@www.apache.org Delivered-To: apmail-axis-java-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5761B10CDE for ; Sun, 5 May 2013 07:26:20 +0000 (UTC) Received: (qmail 76006 invoked by uid 500); 5 May 2013 07:26:18 -0000 Delivered-To: apmail-axis-java-dev-archive@axis.apache.org Received: (qmail 75754 invoked by uid 500); 5 May 2013 07:26:17 -0000 Mailing-List: contact java-dev-help@axis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@axis.apache.org Delivered-To: mailing list java-dev@axis.apache.org Received: (qmail 75695 invoked by uid 99); 5 May 2013 07:26:16 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 05 May 2013 07:26:16 +0000 Date: Sun, 5 May 2013 07:26:16 +0000 (UTC) From: "Shameera Rathnayaka (JIRA)" To: java-dev@axis.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (AXIS2-5331) Handling BigDecimals data in ADB MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AXIS2-5331?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shameera Rathnayaka updated AXIS2-5331: --------------------------------------- Fix Version/s: 1.6.3 > Handling BigDecimals data in ADB > -------------------------------- > > Key: AXIS2-5331 > URL: https://issues.apache.org/jira/browse/AXIS2-5331 > Project: Axis2 > Issue Type: Bug > Components: adb > Affects Versions: 1.7.0 > Environment: 1.7.0-SNAPSHOT > JDK 1.6 > Reporter: Denis Weerasiri > Labels: patch > Fix For: 1.7.0, 1.6.3 > > Attachments: AXIS2-5330-v1.patch > > > I'm facing the same issue https://issues.apache.org/jira/browse/AXIS2-4036 in 1.7.0-SNAPSHOT. > To be backward compatible axis2 adb need to use toPlainString() method provided by BigDecimal API. > I have attached a patch with a test case to solve in adb. > But what I more concerned is, whether axis2 need to handle serialization and de-serialization of BigDecimals in a configurable manner. Suppose, a java-adb-client need to manage his input and out data in scientific notation (in that case E-3 => 0.000), but axis2-adb always send 0.000. I feel, there should be a configurable way s.t. a client can choose to BigDecimal input/outputs in scientific notation or plain text notation. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org For additional commands, e-mail: java-dev-help@axis.apache.org