Announcement Announcement Module
Collapse
No announcement yet.
Web Service Client: Jaxb2 and Jaxb1 Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Web Service Client: Jaxb2 and Jaxb1

    Hello all,

    I am having what I believe to be a compatibility issue. I have a J2EE project that acts as a client to 2 web serivces. Both of which uses JAXB for the OXM. One web service uses JAXB1 and the other JAXB2. Everything compiles fine, but when I deploy to JBoss 5.0.1 I get an IllegalArgumentException when the spring tries to initialize the Jaxb2Marshaller:

    Caused by: java.lang.IllegalArgumentException: Cannot convert value of type [org.springframework.oxm.jaxb.Jaxb2Marshaller] to required type [org.springframework.oxm.Marshaller] for property 'marshaller': no matching editors or conversion strategy found
    at org.springframework.beans.TypeConverterDelegate.co nvertIfNecessary(TypeConverterDelegate.java:231)
    at org.springframework.beans.TypeConverterDelegate.co nvertIfNecessary(TypeConverterDelegate.java:138)
    at org.springframework.beans.BeanWrapperImpl.convertF orProperty(BeanWrapperImpl.java:386)
    ... 110 more
    Anybody have any advice on this? Thanks in advance for the help!
Working...
X