dev@jax-ws.java.net

Re: question: turning off "?wsdl" in the jax-ws server

From: Jitendra Kotamraju <Jitendra.Kotamraju_at_Sun.COM>
Date: Fri, 15 Sep 2006 19:50:59 -0700

Bobby Bissett - Javasoft wrote:

> Hi all,
>
> We're starting to look at how we could add security to metadata
> exchange requests and responses. If these are secured, then we would
> need to be able to turn off the ?wsdl responses to HTTP Get requests
> in the jax-ws servlet. Would there be any way for wsit code to turn
> off this feature?

What do you mean turn off ? Does it result in 404 or someother message ?

Using SDDocumentFilter, you can control what content you are going to
publish. If the filter knows whether request is from ?wsdl or MEX, it
can filter some things. But it cannot send any http status code.

Jitu

>
> Thanks,
> Bobby
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_jax-ws.dev.java.net
> For additional commands, e-mail: dev-help_at_jax-ws.dev.java.net
>