Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

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

Not what you were looking for? View more on this topic or Ask a question