Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 89389 invoked from network); 14 Feb 2007 13:31:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Feb 2007 13:31:09 -0000 Received: (qmail 75674 invoked by uid 500); 14 Feb 2007 13:31:06 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 75662 invoked by uid 500); 14 Feb 2007 13:31:06 -0000 Mailing-List: contact axis-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 75651 invoked by uid 99); 14 Feb 2007 13:31:06 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Feb 2007 05:31:06 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=SPF_PASS,UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of tmuthuku@cisco.com designates 171.68.10.87 as permitted sender) Received: from [171.68.10.87] (HELO sj-iport-5.cisco.com) (171.68.10.87) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Feb 2007 05:30:54 -0800 Received: from sj-dkim-5.cisco.com ([171.68.10.79]) by sj-iport-5.cisco.com with ESMTP; 14 Feb 2007 05:30:34 -0800 X-IronPort-AV: i="4.14,169,1170662400"; d="scan'208"; a="389003459:sNHT55548884" Received: from sj-core-4.cisco.com (sj-core-4.cisco.com [171.68.223.138]) by sj-dkim-5.cisco.com (8.12.11/8.12.11) with ESMTP id l1EDUYGv029918; Wed, 14 Feb 2007 05:30:34 -0800 Received: from cisco.com (pent.cisco.com [171.71.182.12]) by sj-core-4.cisco.com (8.12.10/8.12.6) with ESMTP id l1EDUXnF028546; Wed, 14 Feb 2007 05:30:33 -0800 (PST) Received: from pent.cisco.com (localhost.localdomain [127.0.0.1]) by cisco.com (8.12.11/8.12.11) with ESMTP id l1EDUXA6027408; Wed, 14 Feb 2007 05:30:33 -0800 Received: from pent.cisco.com (root@localhost) by pent.cisco.com (8.12.11/8.12.11/Submit) with ESMTP id l1EDUXPv027405; Wed, 14 Feb 2007 05:30:33 -0800 Received: from tmuthukuw2k ( 10.78.231.122) by pent.cisco.com (Scalix SMTP Relay 10.0.3.3) via ESMTP; Wed, 14 Feb 2007 05:30:32 -0800 (PST) Date: Wed, 14 Feb 2007 19:00:30 +0530 From: Thiraviyakumar MuthukumarSabapathy Reply-To: Thiraviyakumar MuthukumarSabapathy To: , Message-ID: <48905EED09584EE794FB336CAF376F34@apac.cisco.com> In-Reply-To: <19e0530f0702130612g8888a93y15a8d25d6f2bf461@mail.gmail.com> References: <11527E36B7F04786A9001C6578C53815@apac.cisco.com> References: <19e0530f0702130612g8888a93y15a8d25d6f2bf461@mail.gmail.com> Subject: RE: Hi, pls help to overcome this issue x-scalix-Hops: 1 X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4971.600 Thread-Index: AcdPeQn0g6nVmqOkQJ66bNI9Q+PvEwAwu0Hw MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline DKIM-Signature: v=0.5; a=rsa-sha256; q=dns/txt; l=1384; t=1171459834; x=1172323834; c=relaxed/simple; s=sjdkim5002; h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version; d=cisco.com; i=tmuthuku@cisco.com; z=From:=20Thiraviyakumar=20MuthukumarSabapathy=20 |Subject:=20RE=3A=20Hi,=20pls=20help=20to=20overcome=20this=20issue |Sender:=20; bh=ADg4kb9CicQZokO2W9TXoDspXxfYX5QDNGxXANt5fRs=; b=dUnq0bw0tanOsEGCUejLYAYYLxIuK0jDbxd0rAYi8URGshYvmFKKFQ9Z4Rq4cpiZzgN/Pwca qBWpsGGDeLUETsAsN4/2J9x+nt1ef9t76zYtKN83X7noNN0IFdHGxgqD; Authentication-Results: sj-dkim-5; header.From=tmuthuku@cisco.com; dkim=pass ( sig from cisco.com/sjdkim5002 verified; ); X-Virus-Checked: Checked by ClamAV on apache.org Thanks Davanum. I used sun.misc.BASE64Encoder & sun.misc.BASE64Decoder. It is working fine. -----Original Message----- From: Davanum Srinivas [mailto:davanum@gmail.com] Sent: Tuesday, February 13, 2007 7:43 PM To: axis-user@ws.apache.org; tmuthuku@cisco.com Subject: Re: Hi, pls help to overcome this issue Don't send it as a string, send it as an attachment. If you *really* want to send it as a string, then use the Base64 class and call encode on your file contents and send the resultant string. On the other end, call Base64.decode to get back your array. thanks, dims On 2/13/07, Thiraviyakumar MuthukumarSabapathy wrote: > > > > Hi, > > > In my appliaction, we are sending a file content to server as a String > object through AXIS. But AXIS is not able to encode few of the low > level ascii character between the range of 0 to 8, 11 to 12 & 14 to 31 > > I am getting the following Exception for the character . > java.lang.IllegalArgumentException: The char '0xc' after ' > > I shouldn't remove these characters for the file content. And also I > used " But it is not working. > > Please let me know how to handle this issue? > > Thanks, > M.S.Thiraviyakumar -- Davanum Srinivas :: http://wso2.org/ :: Oxygen for Web Services Developers --------------------------------------------------------------------- To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org For additional commands, e-mail: axis-user-help@ws.apache.org