...
Now let's start up the server-side greeter bundles. Like with the DOSGi bundle itself, I'm installing these straight from the Maven release repository.
Code Block |
---|
->g! start http://repo1.maven.org/maven2/org/apache/cxf/dosgi/samples/cxf-dosgi-ri-samples-greeter-interface/1.1/cxf-dosgi-ri-samples-greeter-interface-1.1.jar ->g! start http://repo1.maven.org/maven2/org/apache/cxf/dosgi/samples/cxf-dosgi-ri-samples-greeter-impl/1.1/cxf-dosgi-ri-samples-greeter-impl-1.1.jar -> ps... some log messages will appear ... g! lb START LEVEL 1 ID |State Level |Level|Name [ 0] [|Active ] [| 0] |System Bundle (13.80.01) [ 1] [|Active ]| [ 1] |Apache Felix ShellBundle ServiceRepository (1.6.2.0) [ 2] [|Active ] [| 1] |Apache Felix ShellGogo TUICommand (10.26.0) [ 3] [|Active ] [| 1] |Apache Felix BundleGogo RepositoryRuntime (10.46.0) [ 4] [Active|Active | ] [ 1|Apache Felix Gogo Shell (0.6.0) 5|Resolved 1]| OSGi R4 Compendium Bundle1|osgi.cmpn (4.12.0.200908310645) [ 5] [6|Active ] [| 1] |Distributed OSGi Distribution Software Single-Bundle Distribution [ 6] [7|Active ]| [ 1] |CXF Distributed OSGi Greeter Demo Interface Bundle [ 7] [8|Active ] [| 1] |CXF Distributed OSGi Greeter Demo Service Implementation Bundle |
At the end of the log messages you will see one appear that says:
Some more log messages come up. When it says INFO: Remote INFO: TopologyManager: export sucessful Endpoints:[Endpoint Desctiption for ServiceReference
org.apache.cxf.dosgi.samples.greeter.GreeterService
endpoint has been published into Discovery service
This means you know that the service is successfully exposed remotely, and you can verify this by requesting the WSDL:
...