In this step, you identify the operations that your application
requires to fulfill its functions. The Base Sample Application has
the following four operations:
- Customer Search (customerSearchClientOp and customerSearchServerOp)
- Withdrawal (withdrawalClientOp and withdrawalServerOp)
- Deposit (depositClientOp and depositServerOp)
- Account Statement (accountStatementClientOp and accountStatementServerOp)
A business operation is composed of a flow being executed in two
phases: a client operation and a server operation.
Each client operation must define its corresponding server operation,
and a client/server format to transfer data to the server operation.
Each server operation must define a client/server format to transfer
data back to the client operation.
The Client/Server Service does the following:
- On the client, uses the client request format to format the request
data
- On the server, instantiates the server operation. Uses the format
corresponding to the request format to unformats the request data
into the server operation context. Executes the server operation.
Uses the format corresponding to the reply format to format the reply
data.
- On the client, uses the format corresponding to the reply format
to unformats the reply data into the client operation context.
All the server operations have been defined as self-defined operations
on the server side. Every self-defined operation contains its own
data, context, and services. Generic data, services, and contexts
are defined in the generic files.
On the server side, therefore, there is an XML file for each operation,
and the XML file name corresponds to the name of the server operation,
as followsing:
- accountStatementServerOp.xml
- customerSearchServerOp.xml
- depositServerOp.xml
- withdrawalserverOp.xml