Prev | Current Page 343 | Next

Binildas A Christudas

"Service-Oriented Java Business Integration"

The JBI proxy uses web service stub classes to
invoke the external service and hence depends on the Axis libraries. We resolve this
dependency by compiling the stub classes and including them also in the SA. We
also copy all relevant Axis API jars to the ServiceMix optional library path. The ant
target for that is given here:









Deploying and Running the Sample
To build the entire codebase and deploy the sample, change directory to ch13\
JbiProxy\03_AccessExternalWebService which contains a top-level build.xml
file. Execute ant as shown here:
cd ch13\JbiProxy\03_AccessExternalWebService
ant
This will build the web service, generate required web service client stubs, and
also package all the necessary service assemblies. First, we need to deploy the web
service.


Pages:
331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355