WebSphere Adapter for FTP

Outbound processing results

This section provides a detailed description of the business objects that are returned to the J2EE application upon completion of an outbound processing operation.

After outbound processing is completed, the adapter returns the resulting output to the calling J2EE Client. The following operations return null:
  • Create
  • Append
  • Overwrite
  • Delete
  • ServerToServerFileTransfer
  • ExecuteFTPScript

Exists operation

The following operations return business objects:

The Exists operation returns a business object containing information about the status of the operation. The structure of the business object is:

ExistsResponseBG->ExistsResponse

The status of the Exists operation is provided in the Boolean type element DoesFileExists within the ExistsResponse business object.

List operation

The List operation returns a business object containing information about the status of the operation. The structure of the business object is:

ListResponseBG->ListResponse

ListResponse will have one element, ListOfFileNames of type String[] which contains the files names present in the directory.

Retrieve operation

The Retrieve operation returns a business object containing information about the status of the operation. The structure of the business object is:

RetrieveResponseWrapperBG->RetrieveResponseWrapper->FileContent

The RetrieveResponseWrapper business object contains the Content element of type anyType[], which contains FileContent.

The FileContent business object contains the Filename element of type String and the Content element of type UnstructuredContent.

Elements under the RetrieveResponseWrapper business object
Element name Type
Content anyType[]
SavedFileToLocalDirectory Boolean

If SavedFileToLocalDirectory is set to true, all files are saved to a local directory and the business object's Content element is set to null.

Elements under the FileContent business object
Element name Type
Filename String
Content UnstructuredContent
Note: Data transformation will not happen while the output of the retrieve operation is being returned to the J2EE Client. In other words, the file content is not transformed into Customer or Employee business objects. The content will be in the form of bytes[] in the data objects.

Terms of use |

Last updated: Mon 30 Oct 2006 03:48:53

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