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

Re: Save XML file into FTP PI

$
0
0

Just to clarify.

 

My interface is an RFC to File

There is a field exporting calling I_XML, that is a string.

In this field I send an XML, in case this XML:

 

<?xml version="1.0" encoding="iso-8859-1"?>

<INVOICES>

  <Envelop>

    <senderId>123456</senderId>

    <recipientId>123457</recipientId>

    <controlNumber></controlNumber>

    <dateTime>20150903091225</dateTime>

    <testIndicator>1</testIndicator>

    <messageType version="1">INVOICE</messageType>

  </Envelop>

</INVOICES>

 

I Need only this go to the file, nothing more or nothing different, exact this.

 

But during the mapping and process of the interface, somethng occurs that modify completly my string.

So, the file in ftp is this:

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

<ns1:MT_InvoiceToDescartes xmlns:ns1="http://www.brf.net/ediEurope/AperakToDescartes"><XML>&lt;?xml version=&quot;1.0&quot; encoding=&quot;iso-8859-1&quot;?&gt;

&lt;INVOICES&gt;

  &lt;Envelop&gt;

    &lt;senderId&gt;123456&lt;/senderId&gt;

    &lt;recipientId&gt;123457&lt;/recipientId&gt;

    &lt;controlNumber&gt;&lt;/controlNumber&gt;

    &lt;dateTime&gt;20150903091225&lt;/dateTime&gt;

    &lt;testIndicator&gt;1&lt;/testIndicator&gt;

    &lt;messageType version=&quot;1&quot;&gt;INVOICE&lt;/messageType&gt;

  &lt;/Envelop&gt;

&lt;/INVOICES&gt;</XML></ns1:MT_InvoiceToDescartes>

 

Note that the values of the fields are the same, but it included the encoding, and substitute the '<' '>' by '&lt;' and '&gt;', and other things.

 

I don't know, what i need to do to make PI don't modify the string, and save only the string I send.

 

To be more exactly, this is my Message Mapping

 

Image01.jpg

 

My CC File is this:

Image02.jpg

 

Thanks for response Amarnath Mand Raghuraman Sritharan.

 

And sorry for my english, I'm still learning.


Viewing all articles
Browse latest Browse all 8944

Trending Articles



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