IBM BPM, V8.0.1, All platforms > Authoring services in Integration Designer > Services and service-related functions > Access external services with adapters > Configure and using adapters > IBM WebSphere Adapters > FTP > Reference > Business object information
Business object structure
The adapter supports three different types of business object structures. A generic business object, which is used to pass unstructured data. A generic business object with a business graph, which contains the action to be performed on the data and the connection-specific information. A user-defined type, which is a content-specific business object that supports specific business object structures (such as customer and order business objects).
Business graphs are optional and can be selected in the external service wizard.
The FTPFileBG, FTPFile, and UnstructuredContent generic business object definitions are automatically generated. Depending on the custom complex types selected when you create external services, the corresponding business object or objects definitions are also generated.
For example, if you select Customer, including the optional business graph, the CustomerWrapperBG and CustomerWrapper business objects are generated.
FTPFileBG
The FTPFileBG business object is a generic business object that contains the verb (the action to be performed on the data) and the FTPFile business object as a child. The following graphic illustrates this relationship.
Figure 1. FTPFileBG business object
FTPFile
The FTPFile business object contains all necessary connection information, and an UnstructuredContent business object as a child. The following graphic illustrates this relationship.
Figure 2. FTPFile business object
CustomerWrapperBG
The CustomerWrapperBG is a business object that contains the verb (the action to be performed on the data) and the CustomerWrapper business object as a child. The following graphic illustrates this relationship.
Figure 3. CustomerWrapperBG business object
CustomerWrapper
The CustomerWrapper business object is a business object that contains all necessary connection information and the content-specific Customer business object as a child. The following graphic illustrates this relationship.
Figure 4. CustomerWrapper business object
Global elements in a structured business object
The WebSphere Adapter for FTP supports global elements in structured business objects. Global elements with null namespace are also supported.
Figure 5. Structure of the global elements in a structured Business Object
The CustomerType1 is the global element in the business object.
The CustomerInventory is the global element in the business object.