Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

...

Info

If this is the first time that Karaf is started, then you will see that a new data folder is created. This directory will contain subfolders :

  • cache : containing the bundlles deployed
  • log : where the log file is updated by the application

Step 2 : Check osgi list

When the following prompt appears on the screen :

...

Next, open the web page of your application : http://localhost:8080/reportincidentweb/Image Removed

Step 4 : Call a webservice

...

Use the following url from Soapui, to generate the client interface to communicate with the web service : http://localhost:8080/cxf/camel-example/incident?wsdlImage Removed.

Call the web service with the request : http://localhost:8080/cxf/camel-example/incidentImage Removed
and the following SOAP message request by example :

...

log_file_servicemix2.txt

and web screen result : http://localhost:8080/reportincidentweb/Image Removed

Conclusion

Well, this tutorial was a little bit long but we have tried to provide you all the required information to design a real application using Apache Camel, Felix Karaf, OSGI, CXF and Apache Wicket frameworks. We hope that we have reached the goals defined in the introduction and will continue to improve its content based on Apache frameworks evolution. A part which is not covered but we plan to add it in the future concerns the testing/debugging of the application and transactional aspects.

#Resources

  • Attachments
    patterns.*part2.zip