on 02-10-2014 7:16 AM
Hello Experts,
i am working on a scenario, i want to pick file from file server and send it to ECC side as proxy attachment.
any extra setting need to be done in file adapter to send the attachment to proxy side??
regards,
chinna
Hi Chinna,
>>any extra setting need to be done in file adapter to send the attachment to proxy side??
It all depends on exact requirement of your scenario. What is main payload for your proxy? and what is the file type that you are trying to send to ECC as an attachment via proxy?
If you think that main payload strucutre has no significance in your proxy code logic, then you can create the attachment from the incoming file content and then set some static values to proxy structure using java mapping in PI
Best Regards,
Praveen Gujjeti
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Chinna,
Since it is mandatory to have a structure for proxies, you can create root node with one field for your proxy. As I mentioned earlier, create a java mapping to read the incoming PDF file and then set it as attachment for your proxy. Proxy structure can have some static value for field all the time from your java mapping code
Best Regards,
Praveen Gujjeti
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Chinna,
The additional files option is only available for NFS and it seems only one file will be picked up. So the best option would be to create an attachment in PI via UDF or Java mapping. No additional settings are to be made in the File sender channel.
Regards,
Mark
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.