...
The service implementation and consumer bundle are built using DS.
@@@@ image
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
Next I'll create an OSGi Framework launch configuration that includes DS. To do this
- deselect the 'Target Platform' tickbox in the Eclipse Launch configuration screen
- select org.eclipse.equinox.ds
- hit the 'Add Required Bundles' button
@@@ image
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
The Adder Service Consumer
...