This topic describes the outbound request processing for the WebSphere® Adapter
for Flat Files.
For outbound request processing, an external J2EE client can invoke the
adapter through the Service Component Architecture (SCA). The client requests
a connection, which in turn is passed from the adapter to the enterprise information
system (EIS). Outbound support allows a client to make calls to the adapter
to perform specific operations in an EIS file system.
Operations supported by outbound request processing mode include:
- Create
- Append
- Delete
- Retrieve
- Overwrite
- Exist
- List
Outbound request processing consists of the following steps:
- The outbound service client looks up the business object factory service.
- The outbound service client creates a business object from the business
object factory.
- The outbound service client locates the adapter service.
- The outbound service client invokes the appropriate function on the adapter
service by passing the function name and the business object.
Note: The adapter supports only synchronous outbound communication and
does not support asynchronous mode.
Parameter passing in the SCA framework
Using the
service client, the user can pass protocol-specific parameters, such as the
directory path and file name, in the following ways:
- Through the business object that is passed as a parameter while invoking
the adapter service.
- The parameters can also be set in WebSphere Integration Developer while
generating the service artifacts. The parameters passed through the business
object will override these values. Both directory path and file name should
be set together through one or both of the above ways.