Can't do that. Our infrastructure won't allow it.
I want to display the WADL and XSD for a specific service using a GET. It
seem like
http://bah/cds/rest/inspect/application.wadl
Should get me there, but it doesn't restrict the service. The XSD is the
same. Now if I hit OPTIONS, it works for WADL, but XSD is still not
right....
GRR...
mark juchems
caterpillar inc.
dcs web solutions
lc building
309.675.6349
From: Glen Mazza <gmazza_at_talend.com>
To: <users_at_jersey.java.net>
Date: 02/13/2012 03:22 PM
Subject: [Jersey] Re: Multiple Servlets
Have you considered placing them in separate WARs? That would also allow
you to define separate servlet-container level security permissions
(within the web.xml) for them.
Glen
On 02/13/2012 03:59 PM, Mark E. Juchems wrote:
Dudes,
Not sure if this is the appropriate place for this...
I am using Jersey 1.10. I want to segment my services (different
audiences) so I am using 2 different servlets:
< servlet >
< servlet-name > Inspect Service </ servlet-name >
< servlet-class >
com.sun.jersey.spi.spring.container.servlet.SpringServlet </ servlet-class
>
< init-param >
< param-name >
com.sun.jersey.config.property.packages </ param-name >
< param-value > cat.dds.cds.rest.inspect </
param-value >
</ init-param >
< init-param >
< param-name >
com.sun.jersey.spi.container.ContainerResponseFilters </ param-name >
< param-value > cat.dds.cds.utils.LoggingFilter </
param-value >
</ init-param >
< load-on-startup > 20 </ load-on-startup >
</ servlet >
< servlet >
< servlet-name > Lookup Service </ servlet-name >
< servlet-class >
com.sun.jersey.spi.spring.container.servlet.SpringServlet </ servlet-class
>
< init-param >
< param-name >
com.sun.jersey.config.property.packages </ param-name >
< param-value > cat.dds.cds.rest.lookup </
param-value >
</ init-param >
< init-param >
< param-name >
com.sun.jersey.spi.container.ContainerResponseFilters </ param-name >
< param-value > cat.dds.cds.utils.LoggingFilter </
param-value >
</ init-param >
< load-on-startup > 20 </ load-on-startup >
</ servlet >
The problem is this. When I hit the HEAD function, I get both services
mashed together in the WADL and the XSD. Any way to make those seperate?
I don't want users to view the services they don't have...
mark juchems
caterpillar inc.
dcs web solutions
lc building
309.675.6349
--
Glen Mazza
Talend Community Coders - coders.talend.com
blog: www.jroller.com/gmazza