You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by faffi <ro...@jmpesp.net> on 2013/12/12 05:00:29 UTC
Disable WSDL and WADL metadata publishing?
How do you disable WSDL/WADL metadata publishing? I don't want to export the
service contracts, client applications already know how to invoke the
endpoints.
Thanks!
--
View this message in context: http://cxf.547215.n5.nabble.com/Disable-WSDL-and-WADL-metadata-publishing-tp5737755.html
Sent from the cxf-user mailing list archive at Nabble.com.
Re: Disable WSDL and WADL metadata publishing?
Posted by Sergey Beryozkin <sb...@gmail.com>.
Hi
In addition to blocking the actual requests, one can set
"org.apache.cxf.endpoint.private" contextual property to true on
per-endpoint basis, that will hide the links from the services page
Sergey
On 12/12/13 05:05, Freeman Fang wrote:
> Hi,
>
> For the WADL, you can configure WadlGenerator and set property ignoreRequests as false.
> And for the WSDL, one way I can come up with is add a customer interceptor where you can remove the WSDLGetInterceptor from the chain, we probably should do similar in WSDLGetInterceptor, that said, introduce a property which we can configure to ignore the wsdl fetch request, feel free to fill a improvement jira ticket for it.
> -------------
> Freeman(Yue) Fang
>
> Red Hat, Inc.
> FuseSource is now part of Red Hat
>
>
>
> On 2013-12-12, at 下午12:00, faffi wrote:
>
>> How do you disable WSDL/WADL metadata publishing? I don't want to export the
>> service contracts, client applications already know how to invoke the
>> endpoints.
>>
>> Thanks!
>>
>>
>>
>> --
>> View this message in context: http://cxf.547215.n5.nabble.com/Disable-WSDL-and-WADL-metadata-publishing-tp5737755.html
>> Sent from the cxf-user mailing list archive at Nabble.com.
>
>
Re: Disable WSDL and WADL metadata publishing?
Posted by Freeman Fang <fr...@gmail.com>.
Hi,
For the WADL, you can configure WadlGenerator and set property ignoreRequests as false.
And for the WSDL, one way I can come up with is add a customer interceptor where you can remove the WSDLGetInterceptor from the chain, we probably should do similar in WSDLGetInterceptor, that said, introduce a property which we can configure to ignore the wsdl fetch request, feel free to fill a improvement jira ticket for it.
-------------
Freeman(Yue) Fang
Red Hat, Inc.
FuseSource is now part of Red Hat
On 2013-12-12, at 下午12:00, faffi wrote:
> How do you disable WSDL/WADL metadata publishing? I don't want to export the
> service contracts, client applications already know how to invoke the
> endpoints.
>
> Thanks!
>
>
>
> --
> View this message in context: http://cxf.547215.n5.nabble.com/Disable-WSDL-and-WADL-metadata-publishing-tp5737755.html
> Sent from the cxf-user mailing list archive at Nabble.com.