had the same problem before, and it doesn't seem to be possible straight out of the box with spring configuration... but perhaps there is a solution now, this was with 2.0.1
On Wed, Apr 23, 2008 at 3:34 PM, Per Olesen <[EMAIL PROTECTED]> wrote: > Hi, > > Is is possible to have 2 different endpoints, and have one of them > published on one servlet and another on another servlet? I tried, but both > endpoints end up being callable from both servlets. > > My config is this: > > Two servlets named and mounted like this in web.xml > > servlet: cxf-secure => mounted on: /secure/services/* > servlet: cxf-open => mounted on: /open/services/* > > The "cxf-secure" servlet has init-param > config-location=/WEB-INF/cxf-ws-endpoints-secure.xml and "cxf-open" > servlet has init-param config-location=/WEB-INF/cxf-ws-endpoints-open.xml. > > But, after servlet init of both servlets, all endpoints can be called from > both servlets. > > I suspect they end up in some spring singleton bean. Any nice way to > configure this up? > > Regards, Per > > -- > Per Olesen @ Nordija A/S - www.nordija.com - main#: +45 70 20 25 10 > email: [EMAIL PROTECTED] - cell#: +45 23 38 95 81 >