Inbound Service Oracle File Adapter Read File Concepts

4-46 Oracle Fusion Middleware Users Guide for Technology Adapters ■ ExcludeFiles ■ UseHeaders ■ ListSorter ■ ThreadCount ■ Recursive ■ MaxRaiseSize For a description of these configuration properties, see Appendix A of this book.

4.3.1.8 Inbound Headers

Apart from the payload, Oracle File Adapter publishes the following header metadata, from the inbound service, as shown in Figure 4–24 : ■ jca.file.FileName: file name ■ jca.file.Directory: directory name ■ jca.file.Batch: a unique name for a batch in case of debatching ■ jca.file.BatchIndex: the batch index for each message within the batch for debatching ■ jca.file.Size: the file size ■ jca.file.LastModifiedTime: the last modified time for the file Figure 4–24 The Invoke Dialog

4.3.2 Oracle File Adapter Write File Concepts

In the outbound direction, the Oracle File Adapter receives messages from the service engine and writes the messages to a file in a file system. This section provides an overview of the outbound file writing capabilities of the Oracle File Adapter. You use the Adapter Configuration Wizard to configure the Oracle File Adapter for use with a BPEL process or a Mediator Service. This creates an outbound WSDL and a JCA file pair. This section includes the following topics: Oracle JCA Adapter for FilesFTP 4-47 ■ Section 4.3.2.1, Outbound Operation ■ Section 4.3.2.2, Outbound File Directory Creation ■ Section 4.3.2.3, Native Data Translation ■ Section 4.3.2.4, Outbound Service Files ■ Section 4.3.2.5, Outbound Headers

4.3.2.1 Outbound Operation

For outbound operations with the Oracle File Adapter, select the Write File operation, as shown in Figure 4–25 . Figure 4–25 Selecting the Write File Operation The Add Output Header checkbox is visible when you select File Write. When you select this checkbox, the adapter WSDL will have an output message pointing to a header schema, shown by the bold highlight below. wsdl:definitions name=fileout3 targetNamespace=http:xmlns.oracle.compcbpeladapterfileSOAApp1NewJCAFmwk fileout3 xmlns:jca=http:xmlns.oracle.compcbpelwsdljca xmlns:FILEAPP=http:xmlns.oracle.compcbpeladapterfile xmlns:wsdl=http:schemas.xmlsoap.orgwsdl xmlns:tns=http:xmlns.oracle.compcbpeladapterfileSOAApp1NewJCAFmwk fileout3 xmlns:plt=http:schemas.xmlsoap.orgws200305partner-link xmlns:opaque=http:xmlns.oracle.compcbpeladapteropaque plt:role name=Write_role plt:portType name=tns:Write_ptt plt:role plt:partnerLinkType wsdl:types schema TargetNamespace=http:xlmns.oracle.compcbpeladapteropaque xmlns:opaque=http:xmlns.oracle.compcbpeladapteropaque xmlns=http:www.w3.org2001XMLSchema