Return-Path: X-Original-To: apmail-cxf-users-archive@www.apache.org Delivered-To: apmail-cxf-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DB4519E02 for ; Wed, 16 Nov 2011 13:44:48 +0000 (UTC) Received: (qmail 90495 invoked by uid 500); 16 Nov 2011 13:44:48 -0000 Delivered-To: apmail-cxf-users-archive@cxf.apache.org Received: (qmail 90447 invoked by uid 500); 16 Nov 2011 13:44:48 -0000 Mailing-List: contact users-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@cxf.apache.org Delivered-To: mailing list users@cxf.apache.org Received: (qmail 90434 invoked by uid 99); 16 Nov 2011 13:44:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Nov 2011 13:44:48 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of evangelinamrm@gmail.com designates 74.125.82.169 as permitted sender) Received: from [74.125.82.169] (HELO mail-wy0-f169.google.com) (74.125.82.169) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Nov 2011 13:44:43 +0000 Received: by wyi11 with SMTP id 11so618129wyi.0 for ; Wed, 16 Nov 2011 05:44:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=GRbUh40izXfTgpeGxhn08xUva9a7+7TvAad0xVr+CVA=; b=Yhj+oFEnhePy2tO/KVZDJUzDllEHIF78xOZCaXuMe1g82t+6zgR1aWZiN9rNLQq9lW SeRZkGBk4pLXGDx3RIcKop0oaPtTKSHZ7wrxEskSXzx37+9ZYHla910/71/p8WIuBDBn AwFYgyoNMk/M/654atymzBb5Qe7t+gz44L9kI= MIME-Version: 1.0 Received: by 10.227.202.70 with SMTP id fd6mr21326813wbb.27.1321451062006; Wed, 16 Nov 2011 05:44:22 -0800 (PST) Received: by 10.216.62.200 with HTTP; Wed, 16 Nov 2011 05:44:21 -0800 (PST) In-Reply-To: <2069439.yJp5uYsi3u@dilbert.dankulp.com> References: <1321040561610-4985366.post@n5.nabble.com> <2069439.yJp5uYsi3u@dilbert.dankulp.com> Date: Wed, 16 Nov 2011 10:44:21 -0300 Message-ID: Subject: Re: Alternatives to WSDLQueryHandler? From: Evangelina Martinez To: Daniel Kulp Cc: users@cxf.apache.org Content-Type: multipart/alternative; boundary=000e0cdffc102397b504b1da4da8 --000e0cdffc102397b504b1da4da8 Content-Type: text/plain; charset=ISO-8859-1 > Doesn't look like it's possible. Can I ask what you're trying to achieve? I'm migrating the functionality that I had in 2.3.1, where if the request path contains ?wsdl or ?xsd, I would return the corresponding wsdl or xsd. And for that end I was using the WSDLQueryHandler. > One option really could be to copy the WSDLQueryHandler from 2.4.x, modify it all you want, and register it with 2.5.x. If there is a query handler registered, it wouldn't get into the interceptor chain. Sounds like a good option Thanks! On Tue, Nov 15, 2011 at 6:06 PM, Daniel Kulp wrote: > On Friday, November 11, 2011 11:42:41 AM Evangelina wrote: > > Hi, > > > > I'm upgrading CXF from the version 2.3.1 to 2.5, and I found that that > > WSDLQueryHandler is not present anymore. I was using the Query handler to > > generate the WSDL or the XSD. > > > > I was trying to use the WSDLGetInterceptor instead, and the > handleMessage of > > the interceptor successfully writes the wsdl in the outMessage of the > > exchange. But then the interceptor has a finally catch that overrides it > > and sets it to null. So I'm probably missing something, but where is that > > value persisted? > > Doesn't look like it is. > > > Is there a way to retrieve it afterwards? > > Doesn't look like it's possible. Can I ask what you're trying to achieve? > > One option really could be to copy the WSDLQueryHandler from 2.4.x, modify > it > all you want, and register it with 2.5.x. If there is a query handler > registered, it wouldn't get into the interceptor chain. > > > -- > Daniel Kulp > dkulp@apache.org > http://dankulp.com/blog > Talend - http://www.talend.com > --000e0cdffc102397b504b1da4da8--