Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8451

Re: JAVA Mapping for XML conversion during runtime

$
0
0

1.I have added the com.sap.aii.utilxi.core.io.IOUtil jar files from the PI server even though its displays error "The com.sap.aii.utilxi can not be resolved". Also I added the XPI libraries in NWDS but nothing moving to solve the issue.

 

Which jar file did you add?

 

/usr/sap/<<SID>>/DVEBMGS<<SYSNO>>/j2ee/cluster/bin/ext/com.sap.xi.util.misc/lib

 

jar file name : com.sap.aii.utilxi.core.jar

 

----------------------------------------

 

2. I have commented the line of code where I have placed a test file in the path to test it i.e. JSON.text. But when it is deployed as Archived files, then this code has to be replaced.

 

The Method toString(InputStream) in the type IOUtils is not applicable for the arguments (String)



To read the input stream you should have


InputStream inputstream = transformationInput.getInputPayload().getInputStream();

 

Please refer to below blog just to get an idea on working with input stream and output stream.

 

Dynamic file name for pass-through scenario - Process Integration - SCN Wiki


Viewing all articles
Browse latest Browse all 8451

Trending Articles



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