Quantcast
Channel: SCN : All Content - Process Integration (PI) & SOA Middleware
Viewing all articles
Browse latest Browse all 7030

PI 7.4: XSLT Mapping for Dynamic Configuration.

$
0
0

Hi Experts,

I am getting the below error while executing XSLT mapping. I am trying to set file name dynamically in mapping(this would be used in receiver file adapter).

 

 

 

        Transformer Configuration Exception occurred when loading XSLT Concur_TransformToFile.xsl; details: The first argument to the non-static Java function 'put' is not a valid object reference.

    

 

 

this is the XSLT mapping

 

<?xml version="1.0"?>

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:map="java:java.util.Map" xmlns:dyn="java:com.sap.aii.mapping.api.DynamicConfiguration" xmlns:key="java:com.sap.aii.mapping.api.DynamicConfigurationKey">

 

<xsl:template match="/">

                  <xsl:variable name="FileName" select="//FileName"/>

 

                  <xsl:variable name="dynamic-conf" select="map:get($inputparam, 'DynamicConfiguration')"/>

                 <xsl:variable name="dynamic-key" select="key:create('http://sap.com/xi/XI/System/File', 'FileName')"/>

                 <xsl:variable name="dummy" select="dyn:put($dynamic-conf, $dynamic-key, $FileName)" />

</xsl:template>

</xsl:stylesheet>

 

 

Any idea why it is throwing this error.

 

Thanks,

Sandeep Maurya.


Viewing all articles
Browse latest Browse all 7030

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>