Prev | Current Page 234 | Next

Binildas A Christudas

"Service-Oriented Java Business Integration"

zip
servicemix-http




Chapter 9
[ 169 ]
Deploying and Running the Sample
As the first step and 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 detailed steps to build and run the samples.
To build the entire codebase and deploy the sample, change directory to ch09\
Jsr181BindPojo, which contains a top-level build.xml file. Execute ant as shown
in the following command:
cd ch09\Jsr181BindPojo
ant
Now, bring up the ServiceMix container by executing the servicemix.xml file
contained in the same folder.
%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.
Access WSDL and Generate Axis-based
Stubs to Access POJO Remotely
You can now access the WSDL auto-generated by ServiceMix out of the earlier POJO
binding.


Pages:
222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246