Accessing the content of a JAX-WS Dispatch Response?

Try using Transformer#transform() with a DOMResult and then use the resulting Node.

Try using Transformer#transform() with a DOMResult and then use the resulting Node. Private static void sourceToXML(Source result) { Node rootNode= null; try { TransformerFactory factory = TransformerFactory.newInstance(); Transformer transformer = factory.newTransformer(); DOMResult domResult = new DOMResult(); transformer. Transform(result, domResult ); rootNode = domResult.getNode() } catch (TransformerException e) { e.printStackTrace(); } // Process rootNode here }.

Though that would work, it would be memory intensive. – Archimedes Trajano Nov 19 at 15:44.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions


Thank You!
send