...
This tutorial uses the following frameworks:
- Maven 23.0.94
- Apache Camel 2.10.0
- Apache CXF 2.6.1
- Spring 3.0.7
...
So to see if everything is in order we fire up jetty with mvn jetty:run
and if everything is okay you should be able to access http://localhost:8080
.
Jetty is smart that it will list the correct URI on the page to our web application, so just click on the link. This is smart as you don't have to remember the exact web context URI for your application - just fire up the default page and Jetty will help you.
So where is the damn webservice then? Well as we did configure the web.xml to instruct the CXF servlet to accept the pattern /webservices/*
we should hit this URL to get the attention of CXF: http://localhost:8080/camel-example-reportincident/webservices
.
Hitting the webservice
...