Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The service implementation and consumer bundle are built using DS.
@@@@ image Image Added
The Adder Service interface is as follows:

...

So let's install the server side in Equinox, together with the Equinox DS implementation. You can do this from the Equinox command line, but in this document I'll launch Equinox from within Eclipse.
I'm starting off by importing the Single Bundle Distribution as a binary project in Eclipse by going File -> Import | Plug-ins and Fragments and then select the directory that contains the single bundle distribution JAR file. My workspace now looks like this:
@@@ image Image Added
Next I'll create an OSGi Framework launch configuration that includes DS. To do this

  1. deselect the 'Target Platform' tickbox in the Eclipse Launch configuration screen
  2. select org.eclipse.equinox.ds
  3. hit the 'Add Required Bundles' button

@@@ imageImage Added

Now run the OSGi container, you will get a setup like this:

...

At this point, the service should be available remotely, you can check this by obtaining the WSDL:
@@@ image Image Added

The Adder Service Consumer

...