I want to make a OSB service that asks for a file on another service (URI) and store the received file to a specific location. I managed to make the request and have the response from the external service, and now I want to store the file with a BS over a JCA Connector by writing the binary on the local disk (for instance). I'm calling the BS from the Proxy with a Publish component. My problem is that I don't know how to pass the filename from the response in proxy to JCA through the Publish and BS. Can anyone help me? Thank you.
What I understand is you have the file name in your proxy but not able pass it to jca. Here is what you have to do -
Outbound Request
.jca
.jca.file.FileName
and jca.file.Directory
to the values that you have in proxy.