ws-xmlrpc: java.io.BufferedOutputStream cannot be cast to java.io.ByteArrayOutputStream

If using Apache ws-xmlrpc you get this error in server side:

 

It is because you have to set to false (or just do NOT set to true the optional content length configuration):

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.