cancel
Showing results for 
Search instead for 
Did you mean: 

Receiver File Adapter - XML

Former Member
0 Kudos

Hi

I have configured a receiver file adapter to send an XML message to a file directory.

The structure is

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

- <ns0:MT_SiteDetails_MM xmlns:ns0="urn:Retail.net:SiteDetails">

- <ROWSET>

- <ROW>

<ext_cust_id>0003009996</ext_cust_id>

</ROW>

</ROWSET>

</ns0:MT_SiteDetails_MM>

How do I get the line - <ns0:MT_SiteDetails_MM xmlns:ns0="urn:Retail.net:SiteDetails">

out of the message. Is it possible.

Can I use file content conversion.

any help is appreciated.

Joe

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hey

Just configure XMLAnonymizerBean as module in receiver file adapter

Thanx

Aamir

Former Member
0 Kudos

Thank you very much.

Answers (2)

Answers (2)

aashish_sinha
Active Contributor
0 Kudos

Hi,

>>> have configured a receiver file adapter to send an XML message to a file directory

If i understand it correctly, you need to send X.XML to some directory you configured and you want to do something with <ns0:MT_SiteDetails_MM xmlns:ns0="urn:Retail.net:SiteDetails">.. If i am right, you can use Run OS command after processing option at receiver file adapter.

Write one Shell script and do whatever you want to do with this file. Remove line, add something or anything.

Regards

Aashish Sinha

Former Member
0 Kudos

Hi,

According to my knowledge its not possible, if you use FCC also its not possible.