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]
