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.