cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Fagerstrom <>
Subject Re: POST XML to cocoon protocol
Date Thu, 27 Jan 2005 20:48:43 GMT
Vadim Gritsenko wrote:
> Daniel Fagerstrom wrote:
>> It is not very likely that it will either. I added POST support to the 
>> HTTP: protocol in Bugzilla 
>> ( for web 
>> serivce support. But some people at the list thought that it was going 
>> outside the intended scope of resources to make them postable.
> You sure did went outside of the scope :-) It's good functionality to 
> have in something like HTTPRequestTransformer, but not in 
> SourceWritingTransformer or CIncludeTransformer (the new transformer, 
> IncludeTransformer, does not have such complications).

I agree that the SWT was a bad place to put the functionallity in, as 
you can see in my Bugzilla report I wasn't even convinced when I posted 
it. But I still believe that a postable HTTPClientSource, that was part 
of the implementation, is a rather usable thing. We have used it from 
flowscript to handle document based SOAP posts in a number of 
applications with good results. SOAP posts from transformers, while 
first seeming convinient wasn't such a good idea. Error handling for 
such things doesn't work so well in pipelines.

As Gianugo, IIRC, and maybe others was against such misuses of Sources I 
never added it to Cocoon or Excalibur. But I still think it would be a 
usful contribution.


View raw message