cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Binkley, Peter" <>
Subject RE: webdav transformer
Date Thu, 17 Apr 2008 20:44:37 GMT
Thanks, Jeroen - someone mentioned that one once before but I had forgotten it. Looking at
the description in the wiki, I think it is not as good a fit for my needs as the webdav approach,
since the Forrest project uses a generator instead of a transformer. I need to update the
Solr index with the output of a CForm, so being able to transform the data as part of a pipeline
before generating a Solr doc and pushing it up to Solr is very convenient. It makes it easy
to do all those little normalization and validation steps to keep the data clean.


From: Jeroen Reijn [] 
Sent: Thursday, April 17, 2008 1:29 AM
Subject: RE: webdav transformer

Hi Peter,

I had to dig a bit deeper in my memory, before I was able to answer this. Almost a year ago,
I did some research for the SOLR and Cocoon combination and I came across some Apache Forrest
plugins that are useful in combination with Cocoon. See [1] for more information on this plugin.
The plugin contains a couple of generators that can handle both GET and POST requests to SOLR.
I hope this helps you with your problem, and now you don't have to wrap your request into
a webdav request.




-----Original Message-----
From: Binkley, Peter []
Sent: Wed 4/16/2008 5:11 PM
Subject: RE: webdav transformer

Solr speaks POST, and so does the webdav transfomer. I've blogged about this here:
. I was surprised how difficult it was to find an easy way to post blocks of XML (as opposed
to name-value pairs) without writing code. No doubt this could be added to the CInclude transformer
without too much trouble. I wonder why there hasn't been enough demand to make this happen;
it's a fairly common requirement these days, I'd have thought. (Not that I've got my act together
to post an enhancement request, and I haven't looked at 2.2).



From: Jeroen Reijn []
Sent: Wednesday, April 16, 2008 1:21 AM
Subject: RE: webdav transformer

Hi Robert,

what is the stacktrace that you get from the webbdav transformer that sends the request?
Just because I'm curious: solr speaks webdav?



-----Original Message-----
From: news on behalf of Robert Goené
Sent: Tue 4/15/2008 8:55 PM
Subject:  webdav transformer


I try to use the webdav transformer in Cocoon 2.1.10 to
post some data to Solr. When I do not provide a <body>
element, I get the expected error message from Solr:
no data provided. So far so good. When I do provide a
<body> element, I get a very general NullPointerException.

I use the Saxon transformer, because I need some EXSLT
features. Could this explain my problem? Would explicitely
defining the webdav transformer do any good?

Thanks in advance,


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

View raw message