Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 95380 invoked from network); 19 Mar 2008 08:38:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Mar 2008 08:38:31 -0000 Received: (qmail 68912 invoked by uid 500); 19 Mar 2008 08:38:23 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 68894 invoked by uid 500); 19 Mar 2008 08:38: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 68881 invoked by uid 99); 19 Mar 2008 08:38:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Mar 2008 01:38:23 -0700 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.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Mar 2008 08:37:41 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 281A7234C0A6 for ; Wed, 19 Mar 2008 01:36:24 -0700 (PDT) Message-ID: <153560289.1205915784156.JavaMail.jira@brutus> Date: Wed, 19 Mar 2008 01:36:24 -0700 (PDT) From: "Amila Chinthaka Suriarachchi (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Commented: (AXIS2-3618) WSDL2Java produces code that causes javac to fail with "code to large" In-Reply-To: <213148512.1205780426082.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AXIS2-3618?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12580271#action_12580271 ] Amila Chinthaka Suriarachchi commented on AXIS2-3618: ----------------------------------------------------- I tried by putting each statement into one line. i.e. faultExceptionNameMap.put( new javax.xml.namespace.QName("urn:vim25","InvalidNameFault"),"vim25service.InvalidNameFaultMsg"); faultExceptionClassNameMap.put(new javax.xml.namespace.QName("urn:vim25","InvalidNameFault"),"vim25service.InvalidNameFaultMsg"); but this also gives the problem. So I think there is no solution for this other than manually editing the generated code to make it a compilable unit. > WSDL2Java produces code that causes javac to fail with "code to large" > ---------------------------------------------------------------------- > > Key: AXIS2-3618 > URL: https://issues.apache.org/jira/browse/AXIS2-3618 > Project: Axis 2.0 (Axis2) > Issue Type: Bug > Components: codegen > Affects Versions: 1.3 > Environment: We have encountered this problem both on linux using jdk 1.6 and on Windows using jdk 1.5. > Reporter: Peter Canning > Priority: Blocker > Attachments: vim.wsdl, vimService.wsdl > > > When generating stubs from a large WSDL document using either the ADB or XMLBeans databindings, the generated code causes javac to fail with the following error > [javac] /exit26/home/pcanning/visdk_clients/2.5/axis2-1.3/axis_stubs/src/com/vmware/vim/VimServiceStub.java:3090: code too large > [javac] private void populateFaults() { > [javac] ^ > FYI: In order to successfully run the Axis2-1.3 stub generator, I had to modify axis2.sh to add -Xmx512M to increase the maximum heap size. -- 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