Skip to Content

Java Mapping Using JAXB [Java Arch for XML Binding]

Hi All,

Anyone tried using JAXB [Java Architecture for XML Binding API available with Java WebServices Pack] technique for XML processing in Java Mapping??

I am facing the following problems..

1. I am not able to generate namespace while marshalling target XML [In standalone mode and not tried in XI].

2. What are the jar files we need to import?

I tried importing the following jar files in XI.

jaxb-api.jar,jaxb-impl.jar,jaxb-libs.jar,jax-qname.jar,namespace.jar,relaxngDatatype.jar

and getting some errors while importing these files in XI.

3. It throws error at runtime [Interface Mapping-Test Tab]

like Resource not found:javax/xml/bind/Messages_en.properties,javax/xml/bind/Messages_en_US.properties

4. Even after creating a copy of available file Messages.Properties with name: Messages_en.properties and Messages_en_US.properties.. it is not generating any messages in Target message tab

Thanks in Advance,

Ananth Chinnaraj

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Dec 16, 2005 at 11:40 AM

    Search the sdn . there is a detailed document posted on this.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 13, 2007 at 04:51 PM

    Sravya ,

    I have searched wide and far for this, but no success.

    A lot on JAXB XI and Webdynpro, but nothing on JAXB, XI and mappings.

    Could you please post the url here ?

    Thanks and kind regards,

    Jan

    Add comment
    10|10000 characters needed characters exceeded