CXF 2.7.x Woodstox Compatibility via Maven
In the CXF's documentation it is said that the 2.7.x version requires the Woodstox jars not under the 4.2.0 version to be available in the classpath. Can somebody, please, suggest Maven dependencies for Woodstox to work with CXF? The main problem is when I try to use the cxf's client, an exception "Cannot create a secure XMLInputFactory" is raised. According to different forums ( for example ), it is possible to use the "org.apache.cxf.stax.allowInsecureParser" system property to solve the problem, but it seems not a good way. So that maven dependencies are the way to go... Thanks in advance.