> From: Ivelin Ivanov [mailto:[EMAIL PROTECTED]]
>
>
> 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: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]