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" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 22, 2002 10:13 PM
Subject: RE: [Q] How to match an empty query parameter ?WSDL


> > 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]
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to