cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bruno PIERRE" <brunopier...@yahoo.fr>
Subject Re: Example with StreamGenerator
Date Thu, 24 Jul 2003 10:16:00 GMT
why not sending to cocoon the url of the asp which generate your xml?


> does the stream generator only works with POST?
>
> If yes, I don't know how to do this from a java servlet. Should I append
> the xml stream to the URL so that it looks like this:
> localhost:8080/cocoon/test.xml<?xml version="1.0"
> encoding="UTF-8"?><test></test>
>
> How did you do it in your ASP site?
>
> Thanks
> Uwe
>
> uv@upaya.co.uk schrieb:
> >
> > Uwe,
> >
> > > i'm would like to use the StreamGenerator in my application. For this
I
> > > searched for an example in my Cocoon 2.0.4 distribution, but without
> > > success! Can anybody help me?
> >
> > I cannot help you with an example, but I can tell you that I did build a
> > working site that uses it in a total of 15 minutes.
> >
> > An ASP based site built an XML object and sent it by HTTP POST to the
> > cocoon server. The Cocoon pipeline started with a stream generator and
> > followed it by a SourceWritingTransformer which wrote the body of the
> > post to an XML file on disc.
> >
> > The stream generator just outputs the XML that was sent as the body of
> > POST. There's not much more to it than that.
> >
> > Regards, Upayavira
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> > For additional commands, e-mail: users-help@cocoon.apache.org
>
> --
> Uwe Gerger                                _/_/_/   _/    _/  _/    _/
> BMW AG, TG-53 IT-Technologie             _/   _/  _/_/_/_/  _/    _/
> 80788 Muenchen                          _/_/_/   _/ _/ _/  _/ _/ _/
> Tel: +49 89 382 35687                  _/   _/  _/    _/  _/_/_/_/
> Fax: +49 89 382 49040                 _/_/_/   _/    _/  _/    _/
> mailto:Uwe.Gerger@bmw.de
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org


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


Mime
View raw message