But I think we still can do it in the filter, such as:
doFilter() {
if (URLHasWsdlSuffix()) {
//Do the Authentication
} else {
//access the web service
}
}
If you don't want to use the filter to do the security, maybe
If you're working with a container, i think you can do this through
configuration of the container, to redirect the ?wsdl to a more friendly
page,
say, please contact ... to get the wsdl, or list the service you have etc.
I guess we don't have this function in a standalone service, do we?
, October 17, 2007 6:11 AM
To: cxf-user@incubator.apache.org
Subject: Re: Disable access to wsdl in Servlet transport
If you're working with a container, i think you can do this through
configuration of the container, to redirect the ?wsdl to a more
friendly
page,
say, please contact ... to get
Can you do it using an httpj configuration ?
Cheers, Sergey
-Original Message-
From: Benson Margulies [mailto:[EMAIL PROTECTED]
Sent: 17 October 2007 11:36
To: cxf-user@incubator.apache.org
Subject: RE: Disable access to wsdl in Servlet transport
Well, perhaps you do.
Use the CXF
@incubator.apache.org
Subject: RE: Disable access to wsdl in Servlet transport
Well, perhaps you do.
Use the CXF config to hang a handler in front of the CXF handler that
filter-feeds for ?wsdl? I can't prove that jetty allows one handler to
peek into a context owned by a successor.
-Original
Programatically, you can grab the Bus, get the QueryHandlerRegistry
extension from it, and then remove the WSDLQueryHandler. Kind of
sucks.
I'm changing the spring config so the WSDLQueryHandler is added via
spring instead of a hardcoded new WSDLQueryHandler() in the code.
Thus, you
Hello !
How can I restrict access to WSDL of my service?
I don't want someone to access the
http//host.com/services/myservice?wsdl content.
And I use Servlet transport.
Thanks,
Egor Samarkhanov ([EMAIL PROTECTED])
Jeff,
I think he doesn't want people to see the WSDL file. It's not the
service he wants to restrict, but viewing its WSDL. I don't know if
that can be done.
Glen
Am Mittwoch, den 17.10.2007, 11:11 +0800 schrieb Jeff Yu:
Hi,
There is an easy way that I came up is to use a filter in
Hi,
I think you can take a look at the WSDLQueryHandler in the CXF core.
You can extend it and add some security check here, then register the
Handler to the QueryHandlerRegistyImpl.
Willem.
Egor Samarkhanov wrote:
Hello !
How can I restrict access to WSDL of my service?
I don't want