cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Boisvert, Éric" <ebois...@nrcan.gc.ca>
Subject RE: CInclude POST (again)
Date Tue, 06 Dec 2005 17:17:16 GMT
find attached the source code, keep in mind that's I'm not a expert Java
programmer (I'm more on C# and Delphi).  The component has been designed to
send POST query to WFS (Web Feature Service) servers, which are typically
small XML Query versus potentially very large XML Responses.  This is an
issue in the code because the incoming XML is converted to a DOM and then to
a string (to fix a bug in DOM serializer that 'forgets' to serialize
namespaces), I must manually reinsert the namespaces declaration in the
incoming XML.  

I've added a bit more comments in the source code, for your either
documentation or comic relief.

I assume you are familliar with compiling+installing Cocoon components.
Also, this component is provided as is, and I cannot garantee it will
function properly under stress conditions.. So if your business it the
control Airplane traffic or controling a nuclear reactor, I suggest you have
this checked by a REAL java programmer. :P

Cheers

-----Message d'origine-----
De : Stewart, Gary [mailto:Gary.Stewart@luht.scot.nhs.uk]
Envoyé : 6 décembre, 2005 11:42
À : users@cocoon.apache.org
Objet : RE: CInclude POST (again)




> -----Original Message-----
> From: Boisvert, Éric [mailto:eboisver@nrcan.gc.ca]
> Sent: 06 December 2005 15:39
> To: users@cocoon.apache.org
> Subject: RE: CInclude POST (again)
> 
> 
> Gary.. I gave up with this cinclude/POST business  - lost an 
> incredible
> amount of time trying to make it work to no avail. I created my own
> component (as a transformer).  it throws whaterver xml it 
> gets to a remote
> server and send the response down the pipeline.
> 
> are you (or anyone) interested ?
> 
> Eric
>

I was just talking to someone about doing the same thing :). I'd be very
interested in a transformer that did a POST. I've replied to the thread
rather than you just to note interests on the mailing list (if there was
enough interests for it to be added to the build).

Thanks,

Gary 

*****************************************************************
The information contained in this message may be confidential or 
legally privileged and is intended for the addressee only, If you 
have received this message in error or there are any problems, 
please notify the originator immediately. The unauthorised use, 
disclosure, copying or alteration of this message is 
strictly forbidden.
*****************************************************************


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message