Supported operations

The WebSphere® Adapter for Flat Files performs inbound and outbound operations. The supported operations and the business object structures for the supported operations are listed here.

The "Supported operations" table below describes the operations supported by the Flat Files adapter.

Note: The WebSphere Adapter for Flat Files does not support verbs. The adapter only supports operations.

Supported operations

Operation Response
Append The content in the request is appended at the end of the file.
Create File with the specified filename is created in the specified directory with the content sent across in the request.
Delete Deletes the file from the directory specified in the request.
Exists If the file in the request exists in the specified directory, true is returned in outputString field, else false is returned in the outputString.
List The operation would return all the filenames in the directory specified in the request.
Overwrite Overwrites the file in the directory with the content specified in the request.
Retrieve Response returns the file content of the filename specified in the request.

The "Business object structure for Create" table below defines the business structure for the Create operation.

Business object structure for Create

Name request Value request Name response Value response
DirectoryPath /home/user/ outputdir DirectoryPath /home/user/ outputdir
Filename Myoutput.out Filename Myoutput.out
InputBytes MSH|^~\& ||.||| 199908180016|| ADT^A04| ADT.1.1698593|P InputBytes MSH|^~\& ||.||| 199908180016|| ADT^A04| ADT.1.1698593|P
OutputBytes Null OutputBytes Null
OutputString Null OutputString Null

The "Business object structure for list" table below defines the business structure for the List operation.

Business object structure for List

Name request Value request Name response Value response
DirectoryPath /home/user/ outputdir DirectoryPath /home/user/ outputdir
Filename Null Filename Null
InputBytes Null InputBytes Null
OutputBytes Null OutputBytes Null
OutputString Null OutputString File01.out, File02.out, File03.out, File04.out

The "Business object structure for Exists" table below defines the business structure for the Exists operation.

Business object structure for Exists

Name request Value request Name response Value response
DirectoryPath /home/user/ outputdir DirectoryPath /home/user/ outputdir
Filename File01.out Filename File01.out
InputBytes Null InputBytes Null
OutputBytes Null OutputBytes Null
OutputString Null OutputString True
Related reference
Business object naming conventions
Business object structure
Attribute properties

Terms of use |

Last updated: Sun Mar 12 11:47:10 2006

(c) Copyright IBM Corporation 2005.
This information center is powered by Eclipse technology (http://www.eclipse.org)