You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@olingo.apache.org by Amr Ellafy <am...@gmail.com> on 2015/01/16 12:31:57 UTC
specifying XMLOutputFactory implementation
Hi !
In a scenario where Olingo v2 integrated into a webapp which already
sets XMLOutputFactory to a specific version
of woodstox, org.apache.olingo.odata2.core.ep.producer.AtomServiceDocumentProducer.writeServiceDocument
may throw the following exception:
javax.xml.stream.FactoryFinder$ConfigurationError: Provider
com.ctc.wstx.stax.WstxOutputFactory not found
at javax.xml.stream.FactoryFinder.newInstance(FactoryFinder.java:188)
Is there way to specify XmlOutputFactory (rather
than System.setProperty("javax.xml.stream.XMLOutputFactory",".."), as it
will effect the whole app) ?
Thanks,
Amr