For instance, a file binding component can act as a service
consumer by receiving itinerary data for logging purpose. It can also act as
a service producer by providing inputs to a business process. File BC includes
design-time and run-time components. The design-time component defines the set
of WSDL extensions for file binding and artifacts that allow the extensions to be
plugged into the NetBeans tooling system. The run-time component includes all
necessary implementations and artifacts required by a JBI component.
Chapter 10
[ 241 ]
File BC provides a set of WSDL extensions to allow a service to be bound to a file
transport and thus, allows the messages to be processed by File BC. You need
to download and install File BC, if you do not have it. Download File BC from
https://open-esb.dev.java.net/Components.html.
Now, let us create a WSDL document with file binding and configure file system
related properties. Create a New WSDL Document.
Building a Sample Application
[ 242 ]
Make sure that you select a One-way Operation, as our BPEL process just wants to
write guest itinerary information to a file and will not read from any file. In the input
type, select the ITINERARY schema.
In the next screen you will need to select File binding as the type of binding.
Pages:
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213