Announcement Announcement Module
No announcement yet.
Error On Documentation: Jaxb2Marshaller, not Jaxb1Marshaller Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Error On Documentation: Jaxb2Marshaller, not Jaxb1Marshaller

    Dear Members

    On the section 24.2 Transforming xml payloads appear two snippet code about Jaxb1Marshaller in this way

    <bean class="org.springframework.oxm.jaxb.Jaxb1Marshaller">
                <property name="contextPath" value="org.example" />
    Well on Spring Core 3.0.x and 3.1.x for such package org.springframework.oxm.jaxb the unique class that appear is Jaxb2Marshaller

    JIRA created

  • #2
    Thanks for pointing this out


    • #3
      Hello Oleg

      Thanks for pointing this out
      You're welcome, this is a very important and crucial project, and I promise, I going to share all my observations that I will find out about my experiences with this project

      Now we have other situation, I did realize few moments ago the follow

      Firstly just to recall
      Spring Core for the release 3.0.x and 3.1.x has this package


      Where only appear how I said the class Jaxb2Marshaller

      I did realize Spring Web Services for the release 1.5.X in its API has the same package.


      But there we have the follow classes

      Class Summary
      • AbstractJaxbMarshaller Abstract base class for implementations of the Marshaller and Unmarshaller interfaces that use JAXB.
      • Jaxb1Marshaller Implementation of the Marshaller interface for JAXB 1.0.
      • Jaxb2Marshaller Implementation of the Marshaller interface for JAXB 2.0.
      • JaxbUtils Generic utility methods for working with JAXB.
      There we have available the Jaxb1Marshaller

      Therefore since Spring Integration can work with Spring Web Services too arise the follow questions
      1. For which project Spring Integration's documentation are referring the package org.springframework.oxm.jaxb?, to Spring Core or Spring Web Services?
      2. Spring Integration how handle or would know with which project work if I have both Spring Core and Spring Web Services dependencies included within an application working together with Spring Integration?
      3. Spring Integration offer support only for Jaxb2Marshaller ? or for both? Jaxb1Marshaller and Jaxb2Marshaller ?, this answer I think depends from the answers given in question 1 and 2

      Best Regards


      • #4
        I did realize Spring Web Services offer now the series 2.0.x releases

        where the packages based on Spring-OXM has been removed, I assume to Spring Core, Am I right?

        Spring-OXM yes appear until the last series 1.5.x releases

        I was confused