Results 1 to 4 of 4

Thread: Error On Documentation: Jaxb2Marshaller, not Jaxb1Marshaller

  1. #1
    Join Date
    Aug 2006
    Location
    Arequipa-Peru / South America
    Posts
    2,796

    Exclamation 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


    Code:
    <bean class="org.springframework.oxm.jaxb.Jaxb1Marshaller">
                <property name="contextPath" value="org.example" />
    </bean>
    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 https://jira.springsource.org/browse/INT-1963
    - Manuel Jordan

    Kill Your Pride, Share Your Knowledge With All
    The Fear Of The LORD Is The Beginning Of Knowledge, But Fools Despise Wisdom And Discipline. Proverbs 1:7

    Blog


    Technical Reviewer of Apress

    • Pro SpringSource dm Server
    • Spring Enterprise Recipes: A Problem-Solution Approach
    • Spring Recipes: A Problem-Solution Approach, 2nd Edition
    • Pro Spring Integration
    • Pro Spring Batch
    • Pro Spring 3
    • Pro Spring MVC: With Web Flow
    • Pro Spring Security

  2. #2
    Join Date
    Jan 2008
    Location
    Mohnton, PA USA (that's near Philadelphia)
    Posts
    2,148

  3. #3
    Join Date
    Aug 2006
    Location
    Arequipa-Peru / South America
    Posts
    2,796

    Default

    Hello Oleg

    Thanks for pointing this out
    Fixed http://git.springsource.org/spring-i...aa9502959a81e0
    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

    org.springframework.oxm.jaxb

    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.

    org.springframework.oxm.jaxb

    But there we have the follow classes

    Code:
    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
    - Manuel Jordan

    Kill Your Pride, Share Your Knowledge With All
    The Fear Of The LORD Is The Beginning Of Knowledge, But Fools Despise Wisdom And Discipline. Proverbs 1:7

    Blog


    Technical Reviewer of Apress

    • Pro SpringSource dm Server
    • Spring Enterprise Recipes: A Problem-Solution Approach
    • Spring Recipes: A Problem-Solution Approach, 2nd Edition
    • Pro Spring Integration
    • Pro Spring Batch
    • Pro Spring 3
    • Pro Spring MVC: With Web Flow
    • Pro Spring Security

  4. #4
    Join Date
    Aug 2006
    Location
    Arequipa-Peru / South America
    Posts
    2,796

    Default

    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
    - Manuel Jordan

    Kill Your Pride, Share Your Knowledge With All
    The Fear Of The LORD Is The Beginning Of Knowledge, But Fools Despise Wisdom And Discipline. Proverbs 1:7

    Blog


    Technical Reviewer of Apress

    • Pro SpringSource dm Server
    • Spring Enterprise Recipes: A Problem-Solution Approach
    • Spring Recipes: A Problem-Solution Approach, 2nd Edition
    • Pro Spring Integration
    • Pro Spring Batch
    • Pro Spring 3
    • Pro Spring MVC: With Web Flow
    • Pro Spring Security

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •