Hello,
I am cross posting my question to different group as its more relevant here.
Is it possible to have a common <cxf:rsServer> address attribute value across multiple OSGI bundles?
BundleA: Can have <cxf:rsServer address="http://localhost:8080/Common" >..
And Can have following REST methods
1) POST, REST Path - /testBundleA/testPost
2) GET, REST Path - /testBundleA/testGet
BundleB: should also have <cxf:rsServer address="http://localhost:8080/Common" >..
And the following REST methods
1) POST, REST Path - /testBundleB/testPost
2) GET, REST Path - /testBundleB/testGet
Reason for multiple OSGI bundle is they all have different business functionality but I want a common server address.
With this setup, when deploying a bundle, the generated WADL file has REST methods of only testbundlesA.
Are there any restriction in having different address for each bundle?
Thanks.
I think you can take a look at the CXF osgi servlet transport.
By leveraging it, your two bundle services can be deployed like you said.