RE: Using a servlet as source for a generator

2003-02-14 Thread Laurent Comte
>> It seems that it check if uri begin with "http". >That is what I thought as well. But >http://wiki.cocoondev.org/Wiki.jsp?page=IntegrateAServlet >seems to indicate otherwise. Yes, but the author of this article told me that he didn't test it ! :-/ He will going to change his article ... >>

Re: Using a servlet as source for a generator

2003-02-14 Thread Guido Casper
> It seems that it check if uri begin with "http". That is what I thought as well. But http://wiki.cocoondev.org/Wiki.jsp?page=IntegrateAServlet seems to indicate otherwise. > Does it work with "https" ??? I don't think FileGenerator supports this. But you can try WebServiceProxyGenerator which

RE: Using a servlet as source for a generator

2003-02-14 Thread Laurent Comte
>OK, one last guess: > I tried for 2 hours all sorts of things :(( ... The only one working is with the full url ... I think that for Cocoon: 1/ there's some confusion between "src" and "uri" attribute for the generator 2/ there's some confusion on how to know if uri is internet-uri or filesys

Re: Using a servlet as source for a generator

2003-02-14 Thread Guido Casper
OTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, February 14, 2003 11:12 AM Subject: RE: Using a servlet as source for a generator > > >Sorry, it should be > > > > I've tried also, but in this case, it looks the ressource on t

RE: Using a servlet as source for a generator

2003-02-14 Thread Laurent Comte
>Sorry, it should be > I've tried also, but in this case, it looks the ressource on the file system (FileNotFoundException) ... Laurent - Please check that your question has not already been answered in the FAQ before posti

Re: Using a servlet as source for a generator

2003-02-14 Thread Guido Casper
> >I think it doesn't fit your servlet mapping. > >Try > > > > It doesn't work ... It couldn't "setup pipeline" with an > "org.apache.cocoon.ProcessingException: Could not setup pipeline.: > org.xml.sax.SAXException: Invalid System ID" Sorry, it should be Guido

RE: Using a servlet as source for a generator

2003-02-14 Thread Laurent Comte
>I think it doesn't fit your servlet mapping. >Try > It doesn't work ... It couldn't "setup pipeline" with an "org.apache.cocoon.ProcessingException: Could not setup pipeline.: org.xml.sax.SAXException: Invalid System ID" >If this doesn't work either and you are using 2.1 you can also try >uri

Re: Using a servlet as source for a generator

2003-02-14 Thread Guido Casper
> Of course, when i type the same url in my browser, it works > ("http://localhost:8080/myApp/myServlet";). Cocoon and my servlet are in the > same webApp (and same Tomcat's Context). > > Does it really work for you ? > > sitemap.xmap is standard and i had just added this : > > > > >