Huge WSDL produce a jdk.internal.org.objectweb.asm.MethodTooLargeException
There is a wsdl that is huge. https://raw.githubusercontent.com/attester/virtualbox-soap/master/sdk-files/vboxweb.wsdl
The wsdl has a portType (vboxPortType) having about 10.000 lines of code.
The wsdl generate a java-interface (org.virtualbox.service.VboxPortType) having 35k lines / 1800 methods.
This is the stacktrace:
8 Replies
⌛
This post has been reserved for your question.
Hey @Peter Rader! Please useTIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here./close
or theClose Post
button above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.
could be related to https://github.com/eclipse-ee4j/metro-jax-ws/issues/688
GitHub
MethodTooLargeException when creating the proxy for the Port type ·...
When trying to use the virtual box sdk on Java 21, we get the following exception: Exception in thread "Thread-5" jdk.internal.org.objectweb.asm.MethodTooLargeException: Method too large:...
Can you try using a different JAX-WS implementation?
Yea, I feel that guy. He also started a ticket at virtualbox: https://www.virtualbox.org/ticket/22094
💤
Post marked as dormant
This post has been inactive for over 300 minutes, thus, it has been archived.
If your question was not answered yet, feel free to re-open this post or create a new one.
In case your post is not getting any attention, you can try to use /help ping
.
Warning: abusing this will result in moderative actions taken against you.
it isn't really a virtualbox issue tbh
Did you try other implementations?
You mean for soap/wsdl? No, Its obvious that the WSDL does not care about java bytecode limitations. I reduced the WSDL to my minimal needs and the ASM proxy worked fine.
Post Closed
This post has been closed by <@574922348642172929>.