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 287 | Next

Binildas A Christudas

"Service-Oriented Java Business Integration"


Deploy the Web Service
As a first step, if you haven't done it before, edit examples.PROPERTIES (provided
along with the code download for this chapter), and change the paths there to match
your development environment. The code download for this chapter also includes a
README.txt file, which gives the detailed steps to build and run the samples.
We have a simple web service in the codebase present in the folder
ch11\WebServiceInJmsChannel\01_ws. To deploy the web service, first change the
directory to ch11\WebServiceInJmsChannel\01_ws and execute ant as shown
as follows:
cd ch11\WebServiceInJmsChannel\01_ws
ant
The web service will be completely built and the war file can be found in the folder:
ch11\WebServiceInJmsChannel\01_ws\dist\AxisEndToEnd.war.
To deploy the web service, just drop this war file into your favorite web server's
webapps folder and restart the web server, if necessary.
Now to make sure that your web service deployment works fine, we have provided
two test clients. To invoke the test client run the following commands:
cd ch11\ServiceMixHttpBinding\01_ws
ant run
and/or
ant test
Chapter 11
[ 211 ]
We can also check the web service deployment by accessing the WSDL from the
following URL:
http://localhost:8080/AxisEndToEnd/services/HelloWebService?WSDL
The top-level folder, that is ch11\WebServiceInJmsChannel, will have a single
build.


Pages:
275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299
hotel jelenia góra Russian bride Free English grammar and study guid powiekszenia wielkoformatowe counter strike 1.6