Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

File attachment in OSB

970276Oct 23 2012 — edited Oct 24 2012
Hello,

I need your help in dealing with File attachments in OSB using JCA integration.
My requirement is Read file as attachment with File Adapter and write to a remote location with FTP adapter.
I successfully created the business and proxy services to do so and it can transfer the file to new location too. But in the remote server I see the attachment reference instead of original file contents.

InputFile:

customer_1234.txt
---------------------------
asldfkjsadf
akdshfksajdh
aksjdfafasdf

output file in remote server:

cust_1234.txt
--------------------
<?xml version="1.0" encoding="UTF-8" ?><attachmentElement href="-1172596423/cust_12345.csv_1351025265000" xmlns="http://xmlns.oracle.com/pcbpel/adapter/file/attachment/"/>

so my question is how to get the contents of the file in the remote location instead of its reference when file attachment option is used. what could be in either business or proxy service to get it correctly.

Thanks,
Nex.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 21 2012
Added on Oct 23 2012
2 comments
752 views