Return-Path: Delivered-To: apmail-ws-sandesha-dev-archive@www.apache.org Received: (qmail 55016 invoked from network); 5 May 2010 22:00:38 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 5 May 2010 22:00:38 -0000 Received: (qmail 54972 invoked by uid 500); 5 May 2010 22:00:37 -0000 Delivered-To: apmail-ws-sandesha-dev-archive@ws.apache.org Received: (qmail 54809 invoked by uid 500); 5 May 2010 22:00:37 -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 54801 invoked by uid 99); 5 May 2010 22:00:37 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 May 2010 22:00:37 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 May 2010 22:00:34 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o45M0D6o003442 for ; Wed, 5 May 2010 22:00:13 GMT Message-ID: <22214965.33411273096813016.JavaMail.jira@thor> Date: Wed, 5 May 2010 18:00:13 -0400 (EDT) From: "Rui Li (JIRA)" To: java-dev@axis.apache.org Subject: [jira] Issue Comment Edited: (AXIS-1773) java2wsdl does not use base64Binary for byte[][] MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AXIS-1773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12864537#action_12864537 ] Rui Li edited comment on AXIS-1773 at 5/5/10 5:58 PM: ------------------------------------------------------ The attached file is my fix; It also included a fix for serializing multi-dimensions array in Document/literal. was (Author: ruili): Here is my fix; It also included a fix for serializing multi-dimensions array in Document/literal. > java2wsdl does not use base64Binary for byte[][] > ------------------------------------------------ > > Key: AXIS-1773 > URL: https://issues.apache.org/jira/browse/AXIS-1773 > Project: Axis > Issue Type: Bug > Components: WSDL processing > Affects Versions: 1.2RC2 > Environment: Windows 2000, Java 1.4.2 > Reporter: Peter Eastman > Attachments: ArraySerializer.java > > > One method in my web service takes an argument of type byte[][], which contains a set of binary files to upload. When I run java2wsdl, it generates the following definition: > > > > > > > > As seen from the name, this is clearly intended to be a 1D array of base64 encoded byte arrays. Unfortunately, it actually is a 2D array of individually encoded bytes. When I build stubs from it with wsdl2java and view the request message with SOAPMonitor, it looks like this: > > > 77 > 49 > ... > This turns even small files into enormous messages. -- 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: java-dev-unsubscribe@axis.apache.org For additional commands, e-mail: java-dev-help@axis.apache.org