The JAXBDataBinding object has maps for both contextProperties and marshallerProperties that can be configured via spring configuration. Unfortunately, it doesn't look like we have an example of configuring via spring, just via the apis. :-(

Dan



On Jun 23, 2008, at 4:45 PM, Arul Dhesiaseelan wrote:

Hi,

One of my bean method returns IOException. When I start my web service, I get "java.lang.StackTraceElement does not have a no-arg default constructor".

I see this issue could be overcome using JAXB introductions discussed in this thread: http://forums.java.net/jive/thread.jspa?messageID=282016 which allows to add XmlTransient annotations to java.lang.Exception class.

How would I configure CXF to invoke these custom JAXB annotation readers during runtime? I am not sure as to how this custom JAXBContext could be created to override CXF JAXBContext.

Please clarify.

Thank you,
Arul





---
Daniel Kulp
[EMAIL PROTECTED]
http://www.dankulp.com/blog




Reply via email to