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

File to File (proxy) scenario, need to get filename that will move to send thru proxy interface

$
0
0

hi

 

i have a request about a File to File and proxy Scenario, in the proxy need to send the name of the file, extension and date-time of the file move in the File to file, inside(message mapping) need to get some file property's,  i need to create the ESB objects,

 

my doubt is, do i need to do it in java mapping or is it way to do it with UDF?

 

i have this code for UDF, it works with xml files, but dont work with image files(*.tiff,*.jpeg) and PDFs files

 

i keep getting the error message "Content is not allowed"

 

  <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>

- <!--  Request Message Mapping

  -->

- <SAP:Error SOAP:mustUnderstand="" xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">

  <SAP:Category>Application</SAP:Category>

  <SAP:Code area="MAPPING">EXCEPTION_DURING_EXECUTE</SAP:Code>

  <SAP:P1>com/sap/xi/tf/_MM_ScanFilePL_</SAP:P1>

  <SAP:P2>com.sap.aii.utilxi.misc.api.BaseRuntimeException:</SAP:P2>

  <SAP:P3>Content is not allowed in prolog.</SAP:P3>

  <SAP:P4 />

  <SAP:AdditionalText />

  <SAP:Stack>Runtime exception occurred during application mapping com/sap/xi/tf/_MM_ScanFilePL_; com.sap.aii.utilxi.misc.api.BaseRuntimeException:Content is not allowed in prolog.</SAP:Stack>

  <SAP:Retry>M</SAP:Retry>

  </SAP:Error>


Viewing all articles
Browse latest Browse all 7030

Trending Articles



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