Posts

Showing posts with the label cxf

JaxWsDynamicClientfactory + java.lang.RuntimeException: Cannot create a secure XMLInputFactory

JaxWsDynamicClientfactory + java.lang.RuntimeException: Cannot create a secure XMLInputFactory My CXF JaxWs Endpoint is hosted on a weblogic through a war. I'm trying to access an operation from a Stand-alone JaxWsDynamicClient. The Client is getting created but the following exception is thrown while trying o access the operation. I've pasted the Server Side and Client Side Exception, SEI, client code and the respective Service and Client pom(s). Didn't find any luck researching over this issue, mostly there seems to be no answer. Any help will be appreciated. Server Exception java.lang.RuntimeException: Cannot create a secure XMLInputFactory at org.apache.cxf.staxutils.StaxUtils.createXMLInputFactory(StaxUtils.java:314) ~[cxf-core-3.0.0.jar:3.0.0] at org.apache.cxf.staxutils.StaxUtils.getXMLInputFactory(StaxUtils.java:264) ~[cxf-core-3.0.0.jar:3.0.0] at org.apache.cxf.staxutils.StaxUtils.createXMLStreamReader(StaxUtils.java:1443) ~[cxf-core-3.0.0.jar:3.0.0] ...