...
Code Block |
---|
g! start http://repo1.maven.org/maven2/org/apache/cxf/dosgi/samples/cxf-dosgi-ri-samples-greeter-interface/1.2/cxf-dosgi-ri-samples-greeter-interface-1.2.jar
g! start http://repo1.maven.org/maven2/org/apache/cxf/dosgi/samples/cxf-dosgi-ri-samples-greeter-impl/1.2/cxf-dosgi-ri-samples-greeter-impl-1.2.jar
... some log messages will appear ...
g! lb
START LEVEL 1
ID|State |Level|Name
0|Active | 0|System Bundle (3.0.1)
1|Active | 1|Apache Felix Bundle Repository (1.6.2)
2|Active | 1|Apache Felix Gogo Command (0.6.0)
3|Active | 1|Apache Felix Gogo Runtime (0.6.0)
4|Active | 1|Apache Felix Gogo Shell (0.6.0)
5|Resolved | 1|osgi.cmpn (4.2.0.200908310645)
6|Active | 1|Distributed OSGi Distribution Software Single-Bundle Distribution
7|Active | 1|CXF Distributed OSGi Greeter Demo Interface Bundle
8|Active | 1|CXF Distributed OSGi Greeter Demo Service Implementation Bundle |
Wiki Markup |
---|
At the end of the log messages you will see one appear that says: |
{{INFO: TopologyManager: export sucessful Endpoints: |
[ Desctiption Description for ServiceReference \[org.apache.cxf.dosgi.samples.greeter.GreeterService |
\]}}
This means that the service is successfully exposed remotely, and you can verify this by requesting the WSDL: |
This WSDL was dynamically generated from the exposed GreeterService
Java interface. Under the hood, the Aegis data binding is used for this.
...