SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 194 | Next

Frank Jennings, David Salter

"Building SOA-Based Composite Applications Using NetBeans IDE 6"

To create a test case,
right-click and select AirAlliance_CA | Test | New Test Case. Provide a valid
name for the Test Case and select the ProcessItinerary.wsdl document. That web
service is the entry point to our BPEL process.
After selecting the web service, select the operation of the Web Service that we
would like to test. In our case we have only one operation.
Chapter 10
[ 231 ]
The first time you execute the test case; the test will fail as output.xml
does not exist. Subsequent executions produce the response back from the
NorthAir web service.
Part B ??“ Using Multiple Partners
In the previous part of the example, there was only one partner service (NorthAir)
that processed the itinerary requests. In this part, we will build another partner
service SouthAir that can also process the request. But SouthAir is not a web service
and our business process does not invoke any of SouthAir's web service. Instead,
SouthAir DB is directly updated through JDBC binding component.
So whenever a request for reservation is made, the NorthAir web service is invoked
and the itinerary data is updated in the SouthAir DB through the JDBC BC. This
example shows you how you can use other binding components to perform nonweb
service calls. This is because all partner systems do not need to be based on web
services.


Pages:
182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206