cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vadim Gritsenko" <>
Subject RE: [Q] How to match an empty query parameter ?WSDL
Date Tue, 23 Jul 2002 03:13:12 GMT
> From: Ivelin Ivanov []
> I am trying to create a WSDL file for the Feedback wizard to show that
> can be used a web service via HTTP GET binding.
> What is an elegant way to match "?WSDL" in the sitemap. The request
> acts against the URI and doesn't recognize the query string. The
> parameter matcher on the other hand will only match parameters which
> 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"/>

With URL: http://localhost:8080/cocoon/x?WSDL

(?wsdl does not work though: matcher is case-sensitive)


To unsubscribe, e-mail:
For additional commands, email:

View raw message