Upgrade to apache xmlrpc-server-3.1.3

I used xmlrpc-2.0.1 in my project.
Now, we are upgrading to version 3.1.3.
In version 2.0.1, we passed as parameter a ServletInputStream:

public void processRequest(HttpServletRequest request, HttpServletResponse
response) throws ServletException, IOException {

byte[] result = xmlRpcServer.execute(request.getInputStream());
response.setContentType("text/xml");
response.setContentLength(result.length);
OutputStream out = response.getOutputStream();
out.write(result);
out.close();
}

Now I need to update this code.
The parameter must be XmlRpcRequest and I'm not able to find how to
convert to inputStream and nor find another method that returns byte
[].
Could someone help me?
How should I proceed?

Tks

0 comments

Comment

Log in or Sign up to comment
Community showcase
Posted 2 hours ago in Europe

Topic Tuesday: What's your favourite Atlassian plugin and why?

With a massive selection of plugins out there, what's the one you couldn't do without?!

6 views 0 1
View post

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you