Versions Compared

Key

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

...

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
-> install file:///C:/Tuscany-2.x/java/sca/samples/dosgi-dynamic-calculator/target/sample-dosgi-dynamic-calculator.jar
Bundle ID: 205
-> start 205
-> install file:///C:\Tuscany-2.x/java/sca/samples/dosgi-dynamic-calculator-operations/target/sample-dosgi-dynamic-calculator-operations.jar
Bundle ID: 206
-> start 206

Now, the distributed OSGi calculator is available as a Web service at http://rfengt61p:8086/CalculatorServiceImage Added. You can see the WSDL in a browser with URL: http://rfengt61p:8086/CalculatorService?wsdlImage Added.

You can now use a web service client such as Eclipse Web Service explorer to invoke the calculator.