Hello Upayavira,
what I need is to send a XML stream via POST from a Java servlet to
Cocoon in order to use the stream generator! 

The XML stream is a String and I don't know what I have to do! Should I
append the string to the URL so that it looks like this:
localhost:8080/cocoon/test.xml<?xml version="1.0"><test></test> ????

Thanks in advance for any help
        Uwe

[EMAIL PROTECTED] schrieb:
> 
> Uwe,
> 
> Can you explain what your need is? Then we can see if we can find the
> best solution for you.
> 
> Regards,
> 
> Upayavira
> 
> On Thu, 24 Jul 2003 14:17:59 +0200, "Uwe Gerger" <[EMAIL PROTECTED]>
> said:
> > Do you mean the URL of the java servlet (in my case)? And then, what
> > does cocoon do?
> >
> > Thanks
> >       Uwe
> >
> >
> >
> > [EMAIL PROTECTED] schrieb:
> > >
> > > 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
> > > >
> > > > [EMAIL PROTECTED] 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: [EMAIL PROTECTED]
> > > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > >
> > > > --
> > > > Uwe Gerger                                _/_/_/   _/    _/  _/    _/
> > > > BMW AG, TG-53 IT-Technologie             _/   _/  _/_/_/_/  _/    _/
> > > > 80788 Muenchen                          _/_/_/   _/ _/ _/  _/ _/ _/
> > > > Tel: +49 89 382 35687                  _/   _/  _/    _/  _/_/_/_/
> > > > Fax: +49 89 382 49040                 _/_/_/   _/    _/  _/    _/
> > > > mailto:[EMAIL PROTECTED]
> > > >
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> > --
> > Uwe Gerger                                _/_/_/   _/    _/  _/    _/
> > BMW AG, TG-53 IT-Technologie             _/   _/  _/_/_/_/  _/    _/
> > 80788 Muenchen                          _/_/_/   _/ _/ _/  _/ _/ _/
> > Tel: +49 89 382 35687                  _/   _/  _/    _/  _/_/_/_/
> > Fax: +49 89 382 49040                 _/_/_/   _/    _/  _/    _/
> > mailto:[EMAIL PROTECTED]
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

-- 
Uwe Gerger                                _/_/_/   _/    _/  _/    _/
BMW AG, TG-53 IT-Technologie             _/   _/  _/_/_/_/  _/    _/
80788 Muenchen                          _/_/_/   _/ _/ _/  _/ _/ _/
Tel: +49 89 382 35687                  _/   _/  _/    _/  _/_/_/_/
Fax: +49 89 382 49040                 _/_/_/   _/    _/  _/    _/
mailto:[EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to