Question about XMLUtil.serialize()
Options
douglas_siqueira
Posts: 3 ✭
in SOAtest
Hello!
I'm using a scripted response in my virtualization whose get a XML request, make some calculations and return. I'm using XMLUtil.buildDocumentFromString() to convert the text to a document and XMLUtil.serialize() to return a valid XML response.
The problem is that XMLUtil.serialize() takes a long time to convert the document into an output (about 15 seconds). There is another way to do this conversion?
Thanks!
0
Answers
-
What is XMLUtil? Is that in the public scripting API or from something else?
I've serialized an org.w3c.dom.Document to a String using LSSerializer as described here:
Is there a more elegant way to convert an XML Document to a String in Java than this code?0