You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Tawfik Lachheb (JIRA)" <ji...@apache.org> on 2007/10/26 18:14:50 UTC

[jira] Created: (CXF-1143) Default CXF behavior of listing all available endpoints

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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


RE: [jira] Commented: (CXF-1143) Default CXF behavior of listingall available endpoints

Posted by Adrian C <ad...@gmail.com>.
I think I see what is going on - in the servlet controller the generate list
is call getDestinations not getDestinations for path... will try to rebuild
& test with this and see if that fixes the problem



Willem2 wrote:
> 
> 
> Ok, there are some changes in CXFServlet 2.0.3(vote version).
> So please let me know if here any issue with the new coming up 2.0.3.
> 
> Willem.
> 
> -----Original Message-----
> From: Adrian C [mailto:adrian.corcoran@gmail.com]
> Sent: Tue 11/13/2007 1:18
> To: cxf-dev@incubator.apache.org
> Subject: RE: [jira] Commented: (CXF-1143) Default CXF behavior of
> listingall available endpoints
>  
> 
> 
> Hi,
> 
> Let me validate that's what I saw when trying that rather than waste your
> time. I am using 2.0.3, but just moved to it on Friday - I may have seen
> that with 2.0.2 though ... will verify tonight what if the issue is still
> there.
> 
> 
> Willem2 wrote:
>> 
>> 
>> 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:adrian.corcoran@gmail.com]
>> Sent: Tue 11/13/2007 0:08
>> To: cxf-dev@incubator.apache.org
>> 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 jira@apache.org 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.
>> 
>> 
>> 
> 
> -- 
> 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#a13709780
> Sent from the cxf-dev mailing list archive at Nabble.com.
> 
> 
> 

-- 
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#a13730792
Sent from the cxf-dev mailing list archive at Nabble.com.


RE: [jira] Commented: (CXF-1143) Default CXF behavior of listingall available endpoints

Posted by Adrian C <ad...@gmail.com>.
sorry for the deplay in getting back - swamped.

yes this issue occurs in 2.0.3, below are snippets of my configuration. When
I go to either servlet in my browser, I get the full list of services
registered in the system both prod & noprod.

I suppose the easiest way to fix this would be to patch generateServiceList
to see if the address contains the servlet path from the
httpservletrequest... 

web.xml	
<context-param>
	<param-name>contextConfigLocation</param-name>
	<param-value>
		classpath*:/com/testing/de/ws/xfire/core/cxf-init.xml						
	</param-value>		
</context-param>
	


<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/testing/de/ws/xfire/core/services/ws.context.xml</param-value>
	</init-param>						
	<load-on-startup>4</load-on-startup>				
</servlet>

<servlet>
	<servlet-name>NonProdCXFServlet</servlet-name>
	<display-name>Non Production 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/testing/de/ws/xfire/core/services/ws.nonprod.context.xml</param-value>
	</init-param>						
	<load-on-startup>5</load-on-startup>				
</servlet>

cxf-init.xml:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN"
"http://www.springframework.org/dtd/spring-beans.dtd">
<beans>
 	 
	<import resource="classpath:META-INF/cxf/cxf.xml" />
	<import resource="classpath:META-INF/cxf/cxf-extension-soap.xml" />	
 	<import resource="classpath:META-INF/cxf/cxf-servlet.xml" />
 	    	
	<!--  load up the beans, needed for local transport -->
	<import
resource="classpath:com/testing/de/ws/xfire/core/services/ws.context-beans.xml"
/>
	
</beans>

ws.context.xml:

<beans xmlns="http://www.springframework.org/schema/beans"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xmlns:cxf="http://cxf.apache.org/core"		
	xsi:schemaLocation="
	http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
	http://cxf.apache.org/core http://cxf.apache.org/schemas/core.xsd">
   
     <bean id="propertyConfigurer"
class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
        <property name="locations" >
            <list>
               
<value>classpath:com/testing/de/config/default.deployment.properties</value>
                <value>${testing.dir}/config/deployment.properties</value>
            </list>
        </property>        
        <property name="ignoreUnresolvablePlaceholders" value="true" />        
        <property name="ignoreResourceNotFound" value="true" />        
    </bean>  

	<!-- services -->
	<import
resource="classpath:com/testing/ws/de/identitymanagement/IdentityManagementV1.xml"
/>
	<import
resource="classpath:com/testing/ws/de/servicemanagement/ServiceManagementV1.xml"
/>
    	<import resource="classpath:com/testing/ws/de/nist/NistV1.xml" />
	<import
resource="classpath:com/testing/ws/de/identification/IdentificationV1.xml"
/>	
	        
</beans>

ws.nonprod.context.xml:
<beans xmlns="http://www.springframework.org/schema/beans"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xmlns:cxf="http://cxf.apache.org/core"		
	xsi:schemaLocation="
	http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
	http://cxf.apache.org/core http://cxf.apache.org/schemas/core.xsd">
   
     <bean id="propertyConfigurer"
class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
        <property name="locations" >
            <list>
               
<value>classpath:com/testing/de/config/default.deployment.properties</value>
                <value>${testing.dir}/config/deployment.properties</value>
            </list>
        </property>        
        <property name="ignoreUnresolvablePlaceholders" value="true" />        
        <property name="ignoreResourceNotFound" value="true" />        
    </bean>  
    
	<!-- not production... -->
	<import
resource="classpath:com/testing/ws/de/policymanagement/PolicyManagementV1.xml"
/>
        
</beans>



Willem2 wrote:
> 
> 
> Ok, there are some changes in CXFServlet 2.0.3(vote version).
> So please let me know if here any issue with the new coming up 2.0.3.
> 
> Willem.
> 
> -----Original Message-----
> From: Adrian C [mailto:adrian.corcoran@gmail.com]
> Sent: Tue 11/13/2007 1:18
> To: cxf-dev@incubator.apache.org
> Subject: RE: [jira] Commented: (CXF-1143) Default CXF behavior of
> listingall available endpoints
>  
> 
> 
> Hi,
> 
> Let me validate that's what I saw when trying that rather than waste your
> time. I am using 2.0.3, but just moved to it on Friday - I may have seen
> that with 2.0.2 though ... will verify tonight what if the issue is still
> there.
> 
> 
> Willem2 wrote:
>> 
>> 
>> 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:adrian.corcoran@gmail.com]
>> Sent: Tue 11/13/2007 0:08
>> To: cxf-dev@incubator.apache.org
>> 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 jira@apache.org 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.
>> 
>> 
>> 
> 
> -- 
> 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#a13709780
> Sent from the cxf-dev mailing list archive at Nabble.com.
> 
> 
> 

-- 
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#a13729967
Sent from the cxf-dev mailing list archive at Nabble.com.


RE: [jira] Commented: (CXF-1143) Default CXF behavior of listingall available endpoints

Posted by "Jiang, Ning (Willem)" <Ni...@iona.com>.
Ok, there are some changes in CXFServlet 2.0.3(vote version).
So please let me know if here any issue with the new coming up 2.0.3.

Willem.

-----Original Message-----
From: Adrian C [mailto:adrian.corcoran@gmail.com]
Sent: Tue 11/13/2007 1:18
To: cxf-dev@incubator.apache.org
Subject: RE: [jira] Commented: (CXF-1143) Default CXF behavior of listingall available endpoints
 


Hi,

Let me validate that's what I saw when trying that rather than waste your
time. I am using 2.0.3, but just moved to it on Friday - I may have seen
that with 2.0.2 though ... will verify tonight what if the issue is still
there.


Willem2 wrote:
> 
> 
> 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:adrian.corcoran@gmail.com]
> Sent: Tue 11/13/2007 0:08
> To: cxf-dev@incubator.apache.org
> 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 jira@apache.org 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.
> 
> 
> 

-- 
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#a13709780
Sent from the cxf-dev mailing list archive at Nabble.com.


RE: [jira] Commented: (CXF-1143) Default CXF behavior of listingall available endpoints

Posted by Adrian C <ad...@gmail.com>.

Hi,

Let me validate that's what I saw when trying that rather than waste your
time. I am using 2.0.3, but just moved to it on Friday - I may have seen
that with 2.0.2 though ... will verify tonight what if the issue is still
there.


Willem2 wrote:
> 
> 
> 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:adrian.corcoran@gmail.com]
> Sent: Tue 11/13/2007 0:08
> To: cxf-dev@incubator.apache.org
> 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 jira@apache.org 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.
> 
> 
> 

-- 
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#a13709780
Sent from the cxf-dev mailing list archive at Nabble.com.


RE: [jira] Commented: (CXF-1143) Default CXF behavior of listingall available endpoints

Posted by "Jiang, Ning (Willem)" <Ni...@iona.com>.
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:adrian.corcoran@gmail.com]
Sent: Tue 11/13/2007 0:08
To: cxf-dev@incubator.apache.org
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 jira@apache.org 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.


Re: [jira] Commented: (CXF-1143) Default CXF behavior of listing all available endpoints

Posted by Adrian C <ad...@gmail.com>.

If you have two servlets, they both have the same list of services.


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 jira@apache.org 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.


Re: [jira] Commented: (CXF-1143) Default CXF behavior of listing all available endpoints

Posted by Adrian C <ad...@gmail.com>.
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 jira@apache.org 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.


Re: [jira] Commented: (CXF-1143) Default CXF behavior of listing all available endpoints

Posted by Glen Mazza <gl...@verizon.net>.
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 jira@apache.org 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
> > 



Re: [jira] Commented: (CXF-1143) Default CXF behavior of listing all available endpoints

Posted by Adrian C <ad...@gmail.com>.

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 jira@apache.org 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
> 
> -- 
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Created%3A-%28CXF-1143%29-Default-CXF-behavior-of-listing-all-available-endpoints-tf4698264.html#a13704364
Sent from the cxf-issues mailing list archive at Nabble.com.


[jira] Commented: (CXF-1143) Default CXF behavior of listing all available endpoints

Posted by "Glen Mazza (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-1143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12538154 ] 

Glen Mazza commented on CXF-1143:
---------------------------------

If I understand you correctly, you would like a cxf-servlet parameter (placeable in the web.xml file), that, if set, shuts off this web page (perhaps just gives a blank page).  I don't know if we already have this functionality in CXF but what you're requesting seems like a perfectly reasonable enhancement request.  (Arguably even a bug if we don't have this already.)

> 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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (CXF-1143) Default CXF behavior of listing all available endpoints

Posted by "willem Jiang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-1143?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

willem Jiang resolved CXF-1143.
-------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.3

The fix is in the trunk, you may need to wait for the merging to the 2.0.3 branch.

> 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
>            Assignee: willem Jiang
>             Fix For: 2.0.3
>
>
> 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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CXF-1143) Default CXF behavior of listing all available endpoints

Posted by "willem Jiang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-1143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12538384 ] 

willem Jiang commented on CXF-1143:
-----------------------------------

Hi 
I think I can add some configuration in the Web.xml that will help you to open or close the service list feature.

Willem.

> 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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CXF-1143) Default CXF behavior of listing all available endpoints

Posted by "Tawfik Lachheb (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-1143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12540014 ] 

Tawfik Lachheb commented on CXF-1143:
-------------------------------------

The service list still shows up after I added the new parameter:

    <servlet>
        <servlet-name>cxf</servlet-name>
        <servlet-class>org.apache.cxf.transport.servlet.CXFServlet</servlet-class>
        <init-param>
            <param-name>hide-service-list-page</param-name> 
            <param-value>true</param-value> 
        </init-param>        
        <load-on-startup>1</load-on-startup>
    </servlet>

I am using the the 2.1 build of 11/02/2007.  Any ideas?

Thanks

> 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
>            Assignee: willem Jiang
>             Fix For: 2.0.3
>
>
> 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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CXF-1143) Default CXF behavior of listing all available endpoints

Posted by "Glen Mazza (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-1143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12540020 ] 

Glen Mazza commented on CXF-1143:
---------------------------------

Yes, I think I see a bug in Willem's code--he has coded "hide-service-list" but used "hide-service-list-page" in the test portion.  I think I suggested the "-page" suffix but "hide-service-list" also looks good I think.

Try again with "hide-service-list" but Willem may choose to switch it to hide-service-list-page on Monday.  He'll let you know here if he does.

Glen


> 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
>            Assignee: willem Jiang
>             Fix For: 2.0.3
>
>
> 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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CXF-1143) Default CXF behavior of listing all available endpoints

Posted by "Tawfik Lachheb (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-1143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12538145 ] 

Tawfik Lachheb commented on CXF-1143:
-------------------------------------

Going to http://my-host/cxf/ shows a listing of all published endpoints.  On a browser, it shows a page with a content that looks like this:

{http://services.v4.aws.esri.com/}IPlaceFinderPort 

{http://services.v4.aws.esri.com/}IDataManagerPort 

{http://services.v4.aws.esri.com/}IAddressManagerPort 

{http://services.v4.aws.esri.com/}ISpatialQueryPort 

each line representing a like that, when clicked on, shows the service wsdl.  We do not want to show the listing of the services as some of them are not meant to be public.



> 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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CXF-1143) Default CXF behavior of listing all available endpoints

Posted by "Tawfik Lachheb (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-1143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12540223 ] 

Tawfik Lachheb commented on CXF-1143:
-------------------------------------

I double checked that I am using version 2.1 with the latest build as of today: 11/02/2007

I tried both hide-service-list-page and hide-service-list but the service list still shows up.

> 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
>            Assignee: willem Jiang
>             Fix For: 2.0.3
>
>
> 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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CXF-1143) Default CXF behavior of listing all available endpoints

Posted by "Glen Mazza (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-1143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12539781 ] 

Glen Mazza commented on CXF-1143:
---------------------------------

Please see this email of the change:
http://mail-archives.apache.org/mod_mbox/incubator-cxf-commits/200710.mbox/%3c20071030092105.BEF9C1A9838@eris.apache.org%3e

In particular, the web.xml at the very bottom--you'll need to add the new parameter listed there in your web.xml.



> 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
>            Assignee: willem Jiang
>             Fix For: 2.0.3
>
>
> 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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CXF-1143) Default CXF behavior of listing all available endpoints

Posted by "willem Jiang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-1143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12541178 ] 

willem Jiang commented on CXF-1143:
-----------------------------------

Hi Tawfik
I just built a kit with least trunk code and tested wsdl-first sample in the tomcat, the hide-service-list-page flag works perfectly .
Here is a part of the sample to show you how to set the flag
  
   <servlet>
        <servlet-name>cxf</servlet-name>
        <display-name>cxf</display-name>
        <description>Apache CXF Endpoint</description>
        <servlet-class>org.apache.cxf.transport.servlet.CXFServlet</servlet-class>
        <load-on-startup>1</load-on-startup>
        <init-param> 
            <param-name>hide-service-list-page</param-name> 
            <param-value>true</param-value> 
       </init-param> 
       
    </servlet>

Willem.

> 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
>            Assignee: willem Jiang
>             Fix For: 2.0.3
>
>
> 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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CXF-1143) Default CXF behavior of listing all available endpoints

Posted by "Tawfik Lachheb (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-1143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12538155 ] 

Tawfik Lachheb commented on CXF-1143:
-------------------------------------

Yes, a blank page would be great.

Thanks

> 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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (CXF-1143) Default CXF behavior of listing all available endpoints

Posted by "willem Jiang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-1143?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

willem Jiang reassigned CXF-1143:
---------------------------------

    Assignee: willem Jiang

> 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
>            Assignee: willem Jiang
>
> 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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


UNSUBSCRIBE

Posted by "Mulligan, Patrick" <Pa...@iona.com>.

-----Original Message-----
From: Tawfik Lachheb (JIRA) [mailto:jira@apache.org] 
Sent: Friday, November 02, 2007 5:53 PM
To: cxf-issues@incubator.apache.org
Subject: [jira] Commented: (CXF-1143) Default CXF behavior of listing
all available endpoints


    [
https://issues.apache.org/jira/browse/CXF-1143?page=com.atlassian.jira.p
lugin.system.issuetabpanels:comment-tabpanel#action_12539725 ] 

Tawfik Lachheb commented on CXF-1143:
-------------------------------------

I got the latest build.  How do I change to web.xml to disable the
feature?

> 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
>            Assignee: willem Jiang
>             Fix For: 2.0.3
>
>
> 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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

[jira] Commented: (CXF-1143) Default CXF behavior of listing all available endpoints

Posted by "Tawfik Lachheb (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-1143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12539725 ] 

Tawfik Lachheb commented on CXF-1143:
-------------------------------------

I got the latest build.  How do I change to web.xml to disable the feature?

> 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
>            Assignee: willem Jiang
>             Fix For: 2.0.3
>
>
> 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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CXF-1143) Default CXF behavior of listing all available endpoints

Posted by "Glen Mazza (JIRA)" <ji...@apache.org>.
    [ 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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CXF-1143) Default CXF behavior of listing all available endpoints

Posted by "willem Jiang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-1143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12541099 ] 

willem Jiang commented on CXF-1143:
-----------------------------------

OK, I will check it with the trunk version  later today.
Willem

> 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
>            Assignee: willem Jiang
>             Fix For: 2.0.3
>
>
> 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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CXF-1143) Default CXF behavior of listing all available endpoints

Posted by "Tawfik Lachheb (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-1143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12541083 ] 

Tawfik Lachheb commented on CXF-1143:
-------------------------------------

Hi Willem - Did you get a chance to take another look into this one?

Thanks

> 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
>            Assignee: willem Jiang
>             Fix For: 2.0.3
>
>
> 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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CXF-1143) Default CXF behavior of listing all available endpoints

Posted by "willem Jiang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-1143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12540051 ] 

willem Jiang commented on CXF-1143:
-----------------------------------

Hi 

I checked the code and test , the web.xml's init parameter name is 'hide-service-list-page' and the boolean member which I used in CXFServlet has the name of 'hide-service-list'. 
Tawfik's web.xml configuration is right , please check CXF version is really updated.

Willem.

> 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
>            Assignee: willem Jiang
>             Fix For: 2.0.3
>
>
> 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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.