cancel
Showing results for 
Search instead for 
Did you mean: 

File copy without content conversion

steve_coombes
Participant
0 Kudos

Hello,

We have a requirement to copy a text file from one application to another without transforming the content. I was wondering if it is possible to copy a file without converting into XML.

We would like to copy the file to the destination server, make an archive copy on another server, and send an email to notify employees that a file has been received.

Kind regards

Steve

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Steve,

Create a bypass scenario without any ESR objects.

Sender Agreement:

| BS_Sender | SI_Test | urn:test  |

Receiver Determination:

| BS_Sender | SI_Test | urn:test  |


Receiver Agreement
| BS_Sender |  | BS_Receiver | SI_Test | urn:test

No Interface Determination Required.

Thanks

Rakesh

Answers (1)

Answers (1)

udo_martens
Active Contributor
0 Kudos

Hi Steve,

xml message are not validated by PI default. As long as you do not have BPM container or a mapping in place messages are processed, as well if they are not wellformed xml.

You can follow the approach of Rakesh, or just create dummy data types / message types (containing only one field) for your interfaces in ESR.

Regards,

Udo

steve_coombes
Participant
0 Kudos

Thanks Rakesh and Udo for your messages. I used Rakesh's suggestion as it involves less work, but Udo's information is useful background knowledge.

Kind regards

Steve