Book Image

Service Oriented Java Business Integration

Book Image

Service Oriented Java Business Integration

Overview of this book

Table of Contents (23 chapters)
Service Oriented Java Business Integration
Credits
About the Author
Acknowledgement
About the Reviewers
Preface

Running the Packaging and Deployment Sample


As a 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.

Now we need to build the samples. For this, change directory to ch06\SoapBinding and then execute ant, as shown here:

cd ch06\SoapBinding
ant

This will build the entire sample.

Now we are going to run this example as standalone. That is, ServiceMix will be started and then the SOAP demo is deployed and run. This is done by executing the servicemix.xml file found in the topmost folder (ch06\SoapBinding).

<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns:sm="http://servicemix.apache.org/config/1.0">
<bean id="propertyConfigurer" class="org.springframework.beans.factory. config.PropertyPlaceholderConfigurer">
&lt...