[
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]