1 Reply Latest reply on Oct 4, 2010 4:47 AM by Ramesh Ramakrishnan

    Common REST server address across multiple OSGI bundles

    Ramesh Ramakrishnan Newbie

      Hello,

       

      Another newbie question. Is it possible to have a common <cxf:rsServer> address attribute value across multiple OSGI bundles?

       

      BundleA: Can have server address as http://localhost:8080/Common

      And Can have following REST methods

      1) POST, REST Path - /testBundleA/testPost

      2) GET, REST Path - /testBundleA/testGet

       

      BundleB: To have same server address i.e. http://localhost:8080/Common

      And Can have 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.