Databases Reference
In-Depth Information
With these modifications, the move, copy, or delete operations will appear as
additional operations on the service that can be invoked from the service bus or
within BPEL.
Adapter headers
In addition to the data associated with the service being provided by the adapter,
sometimes referred to as the payload of the service, it is also possible to configure
or obtain information about the operation of an adapter through header messages.
Header messages are passed as properties to the adapter. We demonstrated this in
the previous section when setting the header properties for the Move operation of the
file adapter.
The properties passed are of the following two formats:
<propertyname="AdapterSpecificPropertyName"value="data"/>
<propertyname="AdapterSpecificPropertyName"variable="varName"/>
The former style allows the passing of literal values through the header. The latter
allows the property to be set from a string variable.
Testing the file adapters
We can test the adapters by using them within a BPEL process or a Mediator like
the one shown in the following screenshot. Building a BPEL process is covered in
Chapter 5 , Building Composite Services and Business Processes . This uses the two services
we that have just described and links them with a copy operation that transforms
data from one format to the other.
 
Search WWH ::




Custom Search