cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivelin Ivanov" <ive...@apache.org>
Subject Re: [Q] How to match an empty query parameter ?WSDL
Date Tue, 23 Jul 2002 03:35:10 GMT
I still can't get it to work.
JDK 1.4, Tomcat 4.0.4, Cocoon 2.1 HEAD, Win XP

Can you send me the whole sitemap?
What is your environment?


----- Original Message ----- 
From: "Vadim Gritsenko" <vadim.gritsenko@verizon.net>
To: <cocoon-dev@xml.apache.org>
Sent: Monday, July 22, 2002 10:13 PM
Subject: RE: [Q] How to match an empty query parameter ?WSDL


> > From: Ivelin Ivanov [mailto:ivelin@apache.org]
> > 
> > 
> > I am trying to create a WSDL file for the Feedback wizard to show that
> it
> > can be used a web service via HTTP GET binding.
> > 
> > What is an elegant way to match "?WSDL" in the sitemap. The request
> matcher
> > acts against the URI and doesn't recognize the query string. The
> request
> > parameter matcher on the other hand will only match parameters which
> have
> > values. Since the standard for exposing a WSDL descriptor for a
> service is
> > to add "?WSDL" to it, it won't be polite to require "?WSDL=true".
> > 
> > So, in the wizard sitemap, I match
> > 
> > <map:match pattern="">
> > ... for the actual wizard ...
> > 
> > how do I do this:
> > 
> > <map:match pattern="?WSDL">
> > ... to display the WSDL file ...
> 
> Works *just* fine:
> 
>       <map:match pattern="x">
>         <map:match type="request" pattern="WSDL">
>           <map:redirect-to uri="welcome"/>
>         </map:match>
>       </map:match>
> 
> With URL: http://localhost:8080/cocoon/x?WSDL
> 
> (?wsdl does not work though: matcher is case-sensitive)
> 
> 
> Vadim
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message