hi all,
i'm trying to build a proxy services using OSB 11g to receive a compressed (zip) attachment and then to stored that attachment to server folder.
i have read a few tutorial on the web :
- Using File Protocol in Oracle Service Bus | Oracle Service Bus Tutorials
- Oracle Service Bus: Attachment Handling using Oracle Service Bus (OSB)
- Fusion Middleware Utilities, SOA and Web Services Technology Blog: Working with SOAP Attachment using Java Callout in OS…
- Darwin-IT: MTOM using SoapUI and OSB
- https://www.linkedin.com/pulse/mtom-based-osb-proxy-business-serviceattachment-using-pachauri
i decided to use mime attachment and enable MTOM. but i still can't succesfully write the file to the server.
from the tutorial i still can't find way to receive the zip file and write that file to the server, the tutorial just showing how to receive attachment and response back the attachment binary.
another requirement is, i may get a lot of file within daily process, can i custom the file naming when i write the file ? so i planned to assign a batchId(number) and fileName(Varchar) in a database table.
does anyone have a better tutorial or information to my case ?
thanks before