I'm a dork. I was using AbstractXFireTest that hardcodes wstx for
XMLInputFactory, so I override the system property and everything is
fine now.
I'm having a problem with com.ctc.wstx.evt.DefaultEventAllocator on
START_ELEMENTs right now, when using Castor binding. It's a problem I
need to send upstream to woodstox and figure out something, but in the
meantime, I'm using the RI stax impl.
Adam
Dan Diephouse wrote:
That is really odd. None of the xfire classes hardcode the woodstox
refence. Maybe it is in a parent classpath or something??
Also, why are you using the RI? It is awful, slow and buggy. You
really should use Woodstox :-)
- Dan
Adam Kramer wrote:
I have a deployed web service that whenever it attempts to generate
WSDL, generates and error that it is looking for the Woodstox
implementation of stax.
WSTX is not on the classpath, but the RI stax-dev-1.1.2 is. Below is
the stacktrace:
javax.xml.stream.FactoryConfigurationError: Provider
com.ctc.wstx.stax.WstxInputFactory not found
at javax.xml.stream.FactoryFinder.newInstance(FactoryFinder.java:72)
at javax.xml.stream.FactoryFinder.find(FactoryFinder.java:120)
at javax.xml.stream.FactoryFinder.find(FactoryFinder.java:92)
at
javax.xml.stream.XMLInputFactory.newInstance(XMLInputFactory.java:136)
at org.codehaus.xfire.util.STAXUtils.<clinit>(STAXUtils.java:47)
at
org.codehaus.xfire.util.jdom.StaxBuilder.<init>(StaxBuilder.java:150)
at
org.codehaus.xfire.wsdl11.builder.AbstractWSDL.<clinit>(AbstractWSDL.java:50)
at
org.codehaus.xfire.wsdl11.builder.DefaultWSDLBuilderFactory.createWSDLBuilder(DefaultWSDLBuilderFactory.java:25)
.
.
.
Any idea why it won't find the BEA stax impl?
Adam