read xml from database (angular6, spring boot, oracle)

github logo ・1 min read

When users presses button in my angular application, a server should return him an xml file, that I produced on my server.

I have a working sql query that generates 1 cell that contains the xml.
I have working spring boot controller that gets the request from the frontend and then calls the db procedure. it also get the xml from the database. (i am using varhcar2 as return datatype).
my problem is now how to return the xml as a file to user

thanks in advance allready :)

twitter logo DISCUSS
Classic DEV Post from May 3

Are you a multi-passionate developer?

When I started on the path towards being a developer, I did not realize how many ...

Kristjan Grm profile image
I am a problem solver coming from Slovenia. I make web applications, web pages, data analysis etc... I like automate business process using various technologies.