This part
also shows how as part of the UpdateAirlines sequence, we send the
itinerary information to the travel agent's FTP server. Uploading itinerary
information to an FTP server is done through FTP BC.
Part F The reservation process is updated to perform pre-processing before
invoking the partner services. This will be useful later to build your own
validation rules before invoking the partner services. A pre-processor
Web Service performs a check on the sectors and sends a reply back to the
process stating if the reservation could be processed. For this example, all
reservation requests from 'BLR' to 'SFO' are rejected and an auto responder
is sent to a predefined email address. The pre-processing also includes
checking if the source and destination sectors are the same, before invoking
the expensive partner service's query operations. You should have more of
these checks in your real applications.
Building a Sample Application
[ 202 ]
Example Description
Part G This part shows how you can process your data stream to do some
intelligent pre-processing before performing any meaningful action on the
data. In the previous parts, you used a File BC to create an XML file that
contained the itinerary data. This itinerary data can be converted into a
stream and can be passed through Intelligent Event Processors to project
or filter the stream or to restrict the itinerary count.
Pages:
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187