Hi, I don't think CXFServlet share the same Bus instance together. I will look this issue later today . BTW, which CXF are you using?
Willem. -----Original Message----- From: Adrian C [mailto:[EMAIL PROTECTED] Sent: Tue 11/13/2007 0:08 To: [email protected] Subject: Re: [jira] Commented: (CXF-1143) Default CXF behavior of listingall available endpoints If you have two servlets, they both displpay the same list of services: <servlet> <servlet-name>CoreCXFServlet</servlet-name> <display-name>Core CXF Servlet</display-name> <servlet-class>org.apache.cxf.transport.servlet.CXFServlet</servlet-class> <init-param> <param-name>config-location</param-name> <param-value>com/xxx/de/ws/core/services/ws.context.xml</param-value> </init-param> <load-on-startup>4</load-on-startup> </servlet> <servlet> <servlet-name>ExtCXFServlet</servlet-name> <display-name>Extensions CXF Servlet</display-name> <servlet-class>org.apache.cxf.transport.servlet.CXFServlet</servlet-class> <init-param> <param-name>config-location</param-name> <param-value>com/xxx/de/ws/ext/services/ws.context.xml</param-value> </init-param> <load-on-startup>5</load-on-startup> </servlet> I have't looked into this but I think its because they both use the same bus, where as xfire used separate xfire instances for exache XFireConfigurableServlet Glen Mazza-2 wrote: > > I don't think it is necessarily "missing" with CXF: > http://www.jroller.com/gmazza/date/20071019#step7 > > I would guess you just need to add a separate mapping in the web.xml to > another servlet, and turn on the display for xxx and turn it off for > yyy. > > Glen > > Am Montag, den 12.11.2007, 03:59 -0800 schrieb Adrian C: >> >> Hi, just saw this and its something that is applicable to some of the >> work >> that I am doing also. Perhaps one of the things that is missing here and >> was >> something that you could do with xfire is to have different endpoints >> available from different servlets - that way when you went to >> http://my-host/cxf/xxx you could see one list of services and >> http://my-host/cxf/yyy you could see another... >> >> >> JIRA [EMAIL PROTECTED] wrote: >> > >> > >> > [ >> > >> https://issues.apache.org/jira/browse/CXF-1143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12538131 >> > ] >> > >> > Glen Mazza commented on CXF-1143: >> > --------------------------------- >> > >> > Do you mean that http://my-host/cxf/ shows the WSDL? Is that the >> problem, >> > you want to suppress showing the WSDL, regardless of address, or you >> just >> > don't want to show it at that particular address? (i.e. the normal >> > http://myhost/cxf/service?wsdl or whatever address would be OK for >> you)? >> > >> >> Default CXF behavior of listing all available endpoints >> >> ------------------------------------------------------- >> >> >> >> Key: CXF-1143 >> >> URL: https://issues.apache.org/jira/browse/CXF-1143 >> >> Project: CXF >> >> Issue Type: Improvement >> >> Reporter: Tawfik Lachheb >> >> >> >> If I publish the cxf servlet as /cxf then going to http://my-host/cxf/ >> >> lists all available endpoints. >> >> This is something we don't want to have in our production environment. >> >> Is there a way to disable this? >> >> Thanks >> > > > > > -- View this message in context: http://www.nabble.com/Re%3A--jira--Commented%3A-%28CXF-1143%29-Default-CXF-behavior-of-listing%09all-available-endpoints-tf4791360.html#a13708181 Sent from the cxf-dev mailing list archive at Nabble.com.
