Try This
<service xmlns="http://xfire.codehaus.org/config/1.0">
<name>MyServices</name>
<serviceClass>com.foo.IServices</serviceClass>
<implementationClass>com.foo.ServicesImpl</implementationClass>
<style>wrapped</style>
<use>literal</use>
<scope>application</scope>
<properties>
<property key="services.list.disabled">true</property>
</properties>
</service>
___________________________________________
Gavin Hogan
Programmer/Analyst
The State University of New York
State University Plaza
Albany, NY 12246
Phone 518-443-5481
fax 518-443-5809
e-mail [EMAIL PROTECTED]
-----Original Message-----
From: Hogan, Gavin
Sent: Tuesday, August 21, 2007 2:08 PM
To: [email protected]
Subject: RE: [xfire-user] How to hide Web Service directory?
I attempted to add this property in Spring, like this .....
(Sorry about the absurd outlook formatting)
<!-- Parent Bean -->
<bean id="basePublicService" abstract="true"
class="org.codehaus.xfire.spring.ServiceBean">
<property name="style" value="document" />
<property name="use" value="literal" />
<property name="namespace"
value="http://service.sysadm.suny.edu" />
<property name="inHandlers">
<list>
<ref bean="inArchiver" />
</list>
</property>
<property name="outHandlers">
<list>
<ref bean="outArchiver" />
</list>
</property>
<property name="properties" >
<map>
<entry key="services.list.disabled" value="true" />
</map>
</property>
</bean>
<bean id="semoTransService" parent="basePublicService">
<property name="serviceBean" ref="implBeam" />
<property name="serviceClass"
value="edu.suny.sysadm.TransactionSubmissionService" />
<property name="name" value="NewService" />
</bean>
but it had no effect. Additionally can the listing be disabled
for the servlet rather than the individual service?
___________________________________________
Gavin Hogan
Programmer/Analyst
The State University of New York
State University Plaza
Albany, NY 12246
Phone 518-443-5481
fax 518-443-5809
e-mail [EMAIL PROTECTED]
-----Original Message-----
From: Jim Burns [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 21, 2007 1:53 PM
To: [email protected]
Subject: Re: [xfire-user] How to hide Web Service
directory?
Can you give a short sample of services.xml that coming
with services.list.disabled property setting?
Thanks,
Jim
----- Original Message ----
From: Tomek Sztelak <[EMAIL PROTECTED]>
To: [email protected]
Sent: Monday, August 20, 2007 12:16:58 AM
Subject: Re: [xfire-user] How to hide Web Service
directory?
In services.xml as service parameter.
On 8/20/07, Matthew Kerle <[EMAIL PROTECTED]>
wrote:
>
> quick question, where do you specify that? In
services.xml or web.xml as a
> init-param to the xFireServlet?
>
> thanks!
>
>
> Tomek Sztelak wrote:
> Hi
> You can just use "services.list.disabled" property to
control that list.
>
> On 8/17/07, Jim Burns <[EMAIL PROTECTED]> wrote:
>
>
> The environment I am using is : Apache + Tomcat .
>
> I will control URL access in Apache/Tomcat with
mod_jk.
>
> Cheers,
> Jim
>
> ----- Original Message ----
> From: "Hogan, Gavin" <[EMAIL PROTECTED]>
> To: [email protected]
> Sent: Friday, August 17, 2007 5:15:07 AM
> Subject: RE: [xfire-user] How to hide Web Service
directory?
>
>
> Just wondering if you picked a solution for this
problem? I don't need
> to do this yet but I am sure I will have a need in the
future since we
> tend to hand edit our wsdl's before giving them to
clients.
>
> ___________________________________________
>
> Gavin Hogan
> Programmer/Analyst
> The State University of New York
> State University Plaza
> Albany, NY 12246
> Phone 518-443-5481
> fax 518-443-5809
> e-mail [EMAIL PROTECTED]
>
> -----Original Message-----
> From: Hogan, Gavin
> Sent: Wednesday, August 15, 2007 8:29 AM
> To: [email protected]
> Subject: RE: [xfire-user] How to hide Web Service
directory?
>
>
> Alternatively you can create a servlet filter and deny
all "GET"
> requests on that path, I assume your web service
clients would be making
> "POST" requests?
>
> Gavin
>
> ___________________________________________
>
> Gavin Hogan
> Programmer/Analyst
> The State University of New York
> State University Plaza
> Albany, NY 12246
> Phone 518-443-5481
> fax 518-443-5809
> e-mail [EMAIL PROTECTED]
>
> -----Original Message-----
> From: Yogesh Chawla - PD
> [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, August 15, 2007 12:14 AM
> To: [email protected]
> Subject: Re: [xfire-user] How to hide Web Service
directory?
>
>
> Hi Jim,
> I think this is something you would probably do at the
> Servlet Container level or web server level. What web
> server or servlet container are you using? Tomcat
> allows you to restrict access to certain URLs based on
> patters. Perhaps you can check that out.
>
> Also in the Apache virtual host setup, you can deny
> entire directories like the web-inf for example. Can
> you give us more details on your setup?
>
> Cheers,
> Yogesh
>
>
> --- Jim Burns <[EMAIL PROTECTED]> wrote:
>
>
>
> If I have some services that can be find at
> http://localhost:8080/services, a page will show
>
> Services:
> MntAccessService[wsdl]
> TrackService[wsdl]
> UMService[wsdl]
> How to avoid people to see that page? Thanks.
>
> Jim
>
>
>
>
>
>
> --
> Matthew Kerle
> IT Consultant
> Canberra, Australia
>
> Mobile: +61404 096 863
> Email: [EMAIL PROTECTED]
> Web: Matthew Kerle
>
---------------------------------------------------------------------
> To unsubscribe from this list please visit:
> http://xircles.codehaus.org/manage_email
--
-----
When one of our products stops working, we'll blame
another vendor
within 24 hours.
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email
________________________________
Pinpoint customers
<http://us.rd.yahoo.com/evt=48250/*http://searchmarketing.yahoo.com/arp/
sponsoredsearch_v9.php?o=US2226&cmp=Yahoo&ctv=AprNI&s=Y&s2=EM&b=50> who
are looking for what you sell.