Following is a simple
composite application:
Note that our composite application has two WSDL Ports. Both are exposed through
SOAP binding. This is because even though we have created an EJB, it is deployed
as a web service. You can also try out the EJB binding component of OpenESB to
directly invoke a session bean.
Testing Part A Source
Deploy the project AirAlliance_SA. 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. The output.xml under
Test | TestReservation should be similar to the following output:
"http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://schemas.xmlsoap.org/soap/envelope/
http://schemas.xmlsoap.org/soap/envelope/">
"http://northair.airalliance.org/">
xmlns:ns2=
"http://northair.airalliance.org/" xmlns="">Processed
Reservation
Building a Sample Application
[ 230 ]
The TestReservation test case has been created for you.
Pages:
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205