...
Copy all bundles (jars and folders) under the modules directory of Tuscany distribution to felix-2.0.1\load.
Remove the following Equinox jars from felix-2.0.1\load:
- osgi-3.5.0-v20090520.jar
- services-3.2.0-v20090520-1800.jar
- common-3.5.0-v20090520-1800.jar
Start felix
Panel |
---|
java -jar bin\felix.jar |
Install OSGi remote service sample bundles
Panel |
---|
http://svn.apache.org/repos/asf/tuscany/java/sca/samples/dosgi-dynamic-calculator/dosgi-calculator.png |
Now, the distributed OSGi calculator is available as a Web service at http://rfengt61p:8086/CalculatorService. You can see the WSDL in a browser with URL: http://rfengt61p:8086/CalculatorService?wsdl.
You can now use a web service client such as Eclipse Web Service explorer to invoke the calculator.