Right-click this project and choose Edit
Application Configuration.
You can see five WSDL ports are configured. Two ports use SOAP
bindings and one port uses JDBC binding, one port uses File binding and
one port uses JMS binding.
Chapter 10
[ 251 ]
In NetBeans, drill down to Services | Servers | Glassfish V[x] | JBI |Binding
Components. If you do not see sun-jms-binding, download the jar from:
http://download.java.net/jbi/binaries/open-jbi-components/main/
nightly/latest/ojc/
Then right-click on Services | Servers | Glassfish V[x] | JBI |Binding Components
and choose Install New Binding Components and select the binding component jar
that you downloaded from the above link.
Testing Part D Source
Deploy the project AirAlliance_CA. In the AirAlliance_CA project, under
Test | TestReservation, edit Input.xml with some values. In the AirAlliance_CA
project, execute the TestReservation test case under the Test folder
Now, check the Itinerary table of the SouthAirDB. Look how the DB is updated. Also
check the Output.xml file for the confirmation message from NorthAir Web Service.
Check if the guest information is written to the file specified in StoreItinerary.
wsdl. Now, go to the Admin Console of GlassFish Application Server and drill
down to Configuration | Java Message Service | Physical Destinations.
Pages:
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220