On Tuesday, March 20, 2012 07:56:29 AM arknapik wrote: > When I try to ask for wsdl of a service the invocation is captured by user > defined interceptor chain. > > I use cxf-api-2.4.6. Is this not a bug?
No. A feature. In 2.4, the ?wsdl stuff was moved onto the interceptor chain specifically for security reasons. It allows interceptors that run prior to it to make security decisions (like looking at the basic auth tokens or similar) and decide to not provide the wsdl. That wasn't possible in <=2.3.x. Also, by moving it onto the chain, it has access to the full endpoint, bus, etc... so it can take advantage of contextual properties. For example, an interceptor can look at the incoming credentials and update the soap:address (via the publishEndpointURL property) to a "low priority" address or similar. Dan > My first interceptor checks > credentials of the soap message. When I ask for ?wsdl I am getting > question for credentials inside browser. This is happening when the > autentication interceptor is in receive or *_stream phase. > > > > -- > View this message in context: > http://cxf.547215.n5.nabble.com/why-question-for-wsdl-for-a-web-service-r > uns-inside-interceptors-chain-tp5580251p5580251.html Sent from the > cxf-user mailing list archive at Nabble.com. -- Daniel Kulp dk...@apache.org - http://dankulp.com/blog Talend Community Coder - http://coders.talend.com