cancel
Showing results for 
Search instead for 
Did you mean: 

Using Java XML 1.5 toolkit instead of sapxmltoolkit for xslt mappings

Former Member
0 Kudos

Hi All

We have a case whereby our xlst requires a number of customised java class functions as we are porting webmethods systems across to PI.

eg in the xslt adding

<xsl:when test="function-available('java:concat">

<xsl:value-of select="java:concat($first, $last, $inputparam)"/>

We are running sap PI 7.1 ehp1. I have been referring to a number of posts on how to complete these tasks.

namely we have implemented the example as provided in:

http://help.sap.com/saphelp_nwpi71/helpdata/EN/73/f61eea1741453eb8f794e150067930/frameset.htm

This only works if "Sap XML Toolkit" is enabled in the operational mapping.

Left unticked (default setting in the mapping) whenever a testcase is run I end up with the error "could not compile sytle sheet".

I would like to use the Java 1.5 xml processing capability as it is supposed to perform better than the sapxmltoolkit option and support for the latter will be discontinued in future.

Has anyone been able run the case with sapxmltoolkit enabled?

If so did you add any other libraries for java xml 1.5?

thanks

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Thanks, I would have thought as much, but theres no guide on the deployment.

For now i assume this will fit into the java/ext area and Pi would need a reboot after the libraries are copied.

Has anyone deployed the additional libraries to PI.

rajasekhar_reddy14
Active Contributor
0 Kudos

You have to deploy JAXP liabraires on PI server, then only XSL Mapping program works without SAP XML toolkit option.