I want to read the response from calling a web service other than wsdl using JAXB. I send a POST request using HttpURLConnection and get a response. My question is to make an XML document from a response stream, and then use jaxb to create Java objects? Or is it possible to use jaxb "on the fly" with a stream of answers? It will be a web application and I will not be able to store the generated XML document anywhere, so if I need to create an xml document, how do I store it to use jaxb, if I can not do jaxb on the fly
source
share