Can I can configure cxf to use a specific XML parser?

Posted by CJS on Stack Overflow See other posts from Stack Overflow or by CJS
Published on 2010-02-05T16:07:11Z Indexed on 2010/03/28 0:33 UTC
Read the original article Hit count: 547

Filed under:
|
|
|
|

Is there a way to specify which XML parser cxf uses? Either through the cfx.xml file or programmatically?

Our app has the Woodstox parser on its classpath, and cxf seems to be using that by default. However, the Woodstox implementation seems to truncate large Base64 encoded byte arrays in the SOAP packet.

Removing Woodstox from the classpath eliminates this truncation problem, but that's not an option right now since other parts of our app also depends on Woodstox.

It would be ideal if I could simply tell cxf to use another XML parser. Is this possible?

© Stack Overflow or respective owner

Related posts about java

Related posts about web-services