I would recommend to increase the log level of StAXUtils to DEBUG. This should output some information about what is going on. Also you should report which versions of Axiom you are using.
Andreas PS: The mailing list for Axiom specific issues is commons-...@ws.apache.org (please prefix posts with [Axiom]). On Wed, May 19, 2010 at 15:38, Tom Herbert <twh...@gmail.com> wrote: > Hello, > > I am having a particular problem with the AXIOM classes and using > AXIS2. I've tried to do a bit of research, but can't seem to find the > problem > > The issue is when making the call: > > org.apache.axis2.client ServiceClient sc = new ServiceClient(); > > I'm getting an exception stating: > > Exception in thread "main" javax.xml.stream.FactoryConfiguration: > Provider javax.xml.stream.XMLInputFactory could not be instatiated > > I am already setting the system property > "javax.xml.stream.XMLInputFactory" to the implementation class > "com.ctc.wstx.stax.WstxInputFactory" > > Right now, just running in standalone mode for testing. I am able to > directly call: > > XMLInputFactory f = XMLInputFactory.newInstance(); > > and the get the appropriate implementation class returned. however, the call > > XMLInputFactor sf = StAXUtils.getXMLInputFactory(); > > fails (insternally when it calls the saem XMLInputFactory.newInstance() call) > > > So, I'm not sure why the StAXUtils doesn't seem to be pickign up my > implementation file setting. > > I'm using JDK1.6.0_18 on Windows > > any help would be appreciated > > thank you > > Tom > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org > For additional commands, e-mail: java-dev-h...@axis.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org For additional commands, e-mail: java-dev-h...@axis.apache.org