For that, transfer the web service war file placed in ch13\JbiProxy\03_
AccessExternalWebService\01_ws\dist folder into the webapps folder of your
favorite web container and restart the container. You can double check whether your
web service deployment works by executing a client kept in the web service folder
itself. For that, execute the ant run target as follows:
Chapter 13
[ 259 ]
ch13\JbiProxy\03_AccessExternalWebService\01_ws
ant run
Now, bring up the ServiceMix container by executing the servicemix.xml file
contained in the same folder.
ch13\JbiProxy\03_AccessExternalWebService
%SERVICEMIX_HOME%/bin/servicemix servicemix.xml
The Client.html provided again in the same folder can be used to send messages to
test the deployed service.
Proxy and WSDL Generation
I have asked you to go through the JBI proxy XBean configuration once more in a
previous section. Do you think we have actually made the web service a proxy? If
we need to truly proxy the web service, then the XBean configuration should be
something like the following code:
service="test:TargetService"
serviceInterface="com.
Pages:
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356