java.lang.UnsupportedOperationException: setXmlVersion Not Supported

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Oracle Community by 843844, 1 year ago
via Stack Overflow by skg
, 3 months ago
setXmlVersion Not Supported I tried searching for this over internet but only thing I found was that there could be XML version mismatch and I should use xml version 1.0 so i tried including a tag in my SOAP request but this didn't solve the issue
via oracle.com by Unknown author, 2 years ago
java.lang.UnsupportedOperationException: setXmlVersion Not Supported
at com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM.setDocumentInfo(SAX2DOM.java:135)
at com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM.startElement(SAX2DOM.java:145)
at com.sun.org.apache.xml.internal.serializer.ToXMLSAXHandler.closeStartTag(ToXMLSAXHandler.java:204)
at com.sun.org.apache.xml.internal.serializer.ToXMLSAXHandler.characters(ToXMLSAXHandler.java:524)
at org.xml.sax.helpers.XMLFilterImpl.characters(XMLFilterImpl.java:564)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.characters(AbstractSAXParser.java:538)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:461)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:807)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:333)
at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transformIdentity(TransformerImpl.java:638)
at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:709)
at com.sun.xml.messaging.saaj.soap.EnvelopeFactory.createEnvelope(EnvelopeFactory.java:97)
at com.sun.xml.messaging.saaj.soap.ver1_1.SOAPPart1_1Impl.createEnvelopeFromSource(SOAPPart1_1Impl.java:39)
at com.sun.xml.messaging.saaj.soap.SOAPPartImpl.getEnvelope(SOAPPartImpl.java:98)
at org.freebxml.omar.common.SOAPMessenger.sendSoapRequest(SOAPMessenger.java:210)
at org.freebxml.omar.common.SOAPMessenger.sendSoapRequest(SOAPMessenger.java:109)
at org.freebxml.omar.common.QueryManagerSOAPProxy.submitAdhocQueryInternal(QueryManagerSOAPProxy.java:68)
at org.freebxml.omar.common.QueryManagerSOAPProxy.submitAdhocQuery(QueryManagerSOAPProxy.java:49)
at org.freebxml.omar.client.xml.registry.DeclarativeQueryManagerImpl.executeQuery(DeclarativeQueryManagerImpl.java:180)
at call.JAXRQueryIterative.executeQuery(JAXRQueryIterative.java:147)
at call.JAXRQueryIterative.main(JAXRQueryIterative.java:77)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.