cancel
Showing results for 
Search instead for 
Did you mean: 

JAXB as standard API for Java Mappings in XI?

Former Member
0 Kudos

Hi there,

Has anyone on this forum implemented Java mappings in XI using JAXB (reference implementation for XML/JAVA data bindings of SUN)?

If Yes, can you please share any experiences?

We're considering to use this API for Java Mappings in XI but first would like to get more background info.

Cheers,

Rob.

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi Roberto,

Have tried implementing Java mapping using JAXB technique couple of years ago. However I was not able to test the mapping in XI/PI environment.

<ul>

<li>There is no in built support for JAXB from SAP XI.</li>

<li>There is no documentation available from SAP on JAXB hence it is difficult to implement the mapping.</li>

<li>We have to import JAXB specific jars along with the mapping code. my attempt to execute the mapping test in IR tool was unsuccessful It was running fine in standalone mode in local PC </li>

</ul>

[My question on SDN on same topic..|;

Thanks and regards,

Ananth

stefan_grube
Active Contributor
0 Kudos

For PI 3.0/7.0 you can only use sapxmltoolkit.jar as JAXP implementation library. You have to assign this to your Java project, but need not upload that library as is part of the J2EE engine.

In PI 7.1 you need not assign any special library, as the JAXP is part of Java VM.

You find a short introduction for JAXP in the online help here:

http://help.sap.com/saphelp_nw04/helpdata/en/34/e2343e8c7f6329e10000000a114084/frameset.htm

Regards

Stefan

varun_k
Contributor
0 Kudos

Hi Roberto Viana,

Please refer to this link on [Java Mapping Concepts (DOM and SAX) |https://www.sdn.sap.com/irj/scn/wiki?path=/display/xi/javaMappingConcepts%2528DOMand+SAX%2529]

Regards,

Varun

stefan_grube
Active Contributor
0 Kudos

There is a blog available for DOM and SAX parsers.

At the moment the searching for blogs does not work.

Maybe you can try later.

Regards

Stefan

Former Member
0 Kudos

Hi,

refer to this link

https://jaxb.dev.java.net/tutorial