On Thursday 14 August 2008 10:31:05 am ejoch wrote:
> thanks, that's exactly the kind of class I was looking for.
>
> I see here that this is to be configured in Spring now:
> http://www.nabble.com/Re%3A-Disable-access-to-wsdl-in-Servlet-transport-p13
>260344.html
>
> I'm using Mule though so still on CXF 2.0.4- I assume I'll have to override
> quite a lot of other stuff to enable me to call the extended handler?
Well, it might be easy enought to just add to your own handler something like:
Bus bus
public void setBus(Bus b) {
bus = b;
}
@PostConstruct
public void register() {
QueryHandlerRegistry registry =
bus.getExtension(QueryHandlerRegistry.class);
registry.register(this, 0);
}
That should put it in the first position so it would handle it before the one
we have registered.
--
Daniel Kulp
[EMAIL PROTECTED]
http://www.dankulp.com/blog