LibraryToggle FramesPrintFeedback

This section uses the WSDL-first sample included with Fuse Services Framework to walk you through installing an application into an OSGi container. This sample, which is located in InstallDir/samples/wsdl-first, is a simple Hello World application that is developed using the JAX-WS APIs.

The sample must be modified so that it can generate an OSGi bundle that contains the proper artifacts. You must make the following changes:

  • Set up the bnd Ant task.

  • Add a build target for packaging your application into an OSGi bundle.

  • Create a BND driver file for your application.

  • Create a Fuse Services Framework configuration file to publish the endpoint.

[Important]Important

You will need to download and install the bnd tool to run this example. The instructions in this section assume that bnd-0.0.249.jar is installed in InstallDir/lib.

Once you have started the container and built the bundle, you can install it into the running container and see the client make requests against the service. Once you are finished testing the example you can stop the application and uninstall it.

Comments powered by Disqus
loading table of contents...