Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

...

Wiki Markup
{snippet:id=e1|lang=xml|title=camel-config.xml|url=camel/trunk/examples/camel-example-cxf-tomcat/src/main/resources/camel-config.xml}

web.xml

In the web.xml file we have just to setup Spring and CXF the usual way.

Wiki Markup
{snippet:id=e1|lang=xml|title=web.xml|url=camel/trunk/examples/camel-example-cxf-tomcat/src/main/webapp/WEB-INF/web.xml}

Running the example

This example runs in Apache Tomcat, so you will have to package the .war file and copy it to the webapp folder of Tomcat, which is the hot deploy folder.

Note: You have to use the version number of Camel you use. In this documentation we are using 2.5.0.TODO: How to deploy in Tomcat

You can then use SoapUI or another web service client and send a request to the http://localhost:90808080/camel-example-cxf-proxy-tomcat-2.5.0/webservices/incidentImage Removed url.

The wsdl is located at: http://localhost:90808080/camel-example-cxf-proxytomcat-2.5.0/webservices/incident?wsdlImage Removed.

The console should then output progress.

Sample output

TOOD: sample output

Here is some sample output from the console:

...

.
And CXF outputs which web services it has from this url http://localhost:8080/camel-example-cxf-tomcat-2.5.0/webservices.

See Also