It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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
Published in Jira

[Survey] Development tools and DevOps - share your thoughts!

Hey Community! I work at Atlassian in product marketing and we are conducting a survey to better understand how people feel about their development tool chain and DevOps. We would love if you could...

36 views 0 0
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you