Generating java code from wsdl using cxf gives code too large error

Bahram0110

New Member
I have generated the code form wsdl to java using cxf 2.7.3 but when building the assembly I get "code too large" error. Indicating that one of the methods have exceeded java 64kb limit. I know exactly which class and to me this seems like bug in cxf. Actully Axis2 does the same so I was wondering if anyone knows how to solve this. The code I'm playing around with is provided here in path eco-api-ex / examples / java /How can I force the code generation to split up large generated method? or should I use some external tool for this?\[code\][ERROR] \workspace\e-conomics\target\generated\src\main\java\com\e_conomic\EconomicWebServiceSoap_EconomicWebServiceSoap12_Client.java:[34,23] error: code too large\[/code\]
 
Back
Top