Camel CXF (code first) and Apache Tomcat example ================================================ An example which uses code-first to expose a web service in Camel running on Apache Tomcat. It can be run using Maven. You will need to first need to build the example: mvn clean install To run the example deploy it in Apache Tomcat by copying the .war located in the target directory to the deploy folder of Apache Tomcat. Alternatively, if your Tomcat installation is set up to use the Tomcat Maven plugin (http://mojo.codehaus.org/tomcat-maven-plugin/usage.html), you can simply run "mvn tomcat:deploy" (also "tomcat:undeploy", "tomcat:redeploy", etc.) to install the WAR file. The webservice is located at http://localhost:8080/camel-example-cxf-tomcat/webservices/incident?wsdl You can run a sample client using the "mvn exec:java" command, or, within soapUI, making sample SOAP requests such as the following:
blah blah
davsclaus@apache.org Smith Bob 2011-11-25 123 123-456-7890 blah blah summary
456 This example is further documented at http://camel.apache.org/cxf-tomcat-example.html If you hit any problems please let us know on the Camel Forums http://camel.apache.org/discussion-forums.html Please help us make Apache Camel better - we appreciate any feedback you may have. Enjoy! ------------------------ The Camel Riders!