Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 19165 invoked from network); 1 Feb 2008 13:43:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Feb 2008 13:43:35 -0000 Received: (qmail 69787 invoked by uid 500); 1 Feb 2008 13:43:24 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 69410 invoked by uid 500); 1 Feb 2008 13:43:23 -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 69399 invoked by uid 99); 1 Feb 2008 13:43:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Feb 2008 05:43:23 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED 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, 01 Feb 2008 13:43:16 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 1D3F071403A for ; Fri, 1 Feb 2008 05:43:09 -0800 (PST) Message-ID: <31642883.1201873389026.JavaMail.jira@brutus> Date: Fri, 1 Feb 2008 05:43:09 -0800 (PST) From: "Christoph Ludwig (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Created: (AXIS2-3488) WstxIOException on long base64Binary elements MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org WstxIOException on long base64Binary elements --------------------------------------------- Key: AXIS2-3488 URL: https://issues.apache.org/jira/browse/AXIS2-3488 Project: Axis 2.0 (Axis2) Issue Type: Bug Components: om Affects Versions: 1.3 Environment: JDK 1.5 Reporter: Christoph Ludwig Attachments: Axis2_LargeBase64.zip We have a client that does not use a databinding but operates on AXIOM OMElements. The WSDL specifies that part of the response is Base64Binary data. However, when we try to access this data then we get WstxIOExceptions ("Attempted read on closed stream") as soon as the data's length exceeds some threshold. Martin Gainty suggested on axis-user@ws.apache.org this may be related to issue #3311 . I am not convinced, though, since our problems manifests itself no matter if send requests for the first time or if we re-send them. It is only a matter of the data's length. I am going to attach a test case that demonstrates * the excpetion is thrown as soon as the string that is transported base64 encoded is longer than 2850 characters. * the ADB binding manages to avoid this issue. The service archive Axis2_LargeBase64/LargeBase64.aar packs test.axis2.lb64.service. The junit testcase in test.axis2.lb64.client.om.junit demonstrates the issue with the client that operates directly on OMElements. Similarly, test.axis2.lb64.client.adb.junit exhibits that the ADB binding somehow avoids this issue. All client stubs and the service skeleton were generated with the Axis2 wsdl2java tool through the Eclipse Axis2 Code Generator Wizard. We'd prefer to avoid ADB (or other bindings) for this particular client and would therefore appreciate any fix or even workaround. -- 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