Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 31382 invoked from network); 28 Oct 2004 07:12:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 28 Oct 2004 07:12:25 -0000 Received: (qmail 61381 invoked by uid 500); 28 Oct 2004 07:12:14 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 61171 invoked by uid 500); 28 Oct 2004 07:12:13 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: users@cocoon.apache.org Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 61145 invoked by uid 99); 28 Oct 2004 07:12:12 -0000 X-ASF-Spam-Status: No, hits=0.6 required=10.0 tests=DNS_FROM_RFC_ABUSE,HTML_60_70,HTML_MESSAGE,MIME_HTML_NO_CHARSET,PLING_PLING,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from [143.216.236.10] (HELO adl0728.systems.sa.gov.au) (143.216.236.10) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 28 Oct 2004 00:12:10 -0700 Received: from adl0728.systems.sa.gov.au (localhost [127.0.0.1]) by adl0728.systems.sa.gov.au OUTGOING (8.12.10/8.12.10) with ESMTP id i9S7C5JB026781 for ; Thu, 28 Oct 2004 16:42:05 +0930 (CST)' Received: from sagemsbb006.saugov.sa.gov.au (sagemsbb006.sagemsmrd01.sa.gov.au [143.216.59.14]) by adl0728.systems.sa.gov.au INCOMING (8.12.10/8.12.10) with ESMTP id i9S7C3ke026734 for ; Thu, 28 Oct 2004 16:42:04 +0930 (CST)' Received: by sagemsbb006.sagemsmrd01.sa.gov.au with Internet Mail Service (5.5.2657.72) id ; Thu, 28 Oct 2004 16:42:02 +0930 Message-ID: From: "Frangos, Nick (SAPOL)" To: "'users@cocoon.apache.org'" Subject: RE: How can i assign a result of a pipe (stream) to another pipe (urgend!!!) Date: Thu, 28 Oct 2004 16:45:05 +0930 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C4BCBD.7D7CBC8F" X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N ------_=_NextPart_001_01C4BCBD.7D7CBC8F Content-Type: text/plain For the first problem use content aggregatation. Look at map:aggregate on the Cocoon site for examples and a full desc. Nick Frangos -----Original Message----- From: D.Skirde@hzd.hessen.de [mailto:D.Skirde@hzd.hessen.de] Sent: Thursday, 28 October 2004 3:36 PM To: users@cocoon.apache.org Subject: How can i assign a result of a pipe (stream) to another pipe (urgend!!!) Hi, i have a problem in understanding how i can give a result(stream) of a pipe to another pipe, working now with his stream. Following happens: from an input form (woody) i am getting/transforming an xml stream (1) in the expected way. Now, at the end of the pipe i want call another pipe in my sitemap and assign the stream to the pipe i call, so that the new pipe can now working with the incoming stream. How can i do this? Next question: In (2) i am calling a sitemap in an outside application and make a soap call (runs very well). How must i accept the incoming xml-stream (perhaps with $request)? Sorry, i am very new in cocoon and not so firm with it, but i must write a small application during my actual project. Normaly i am working with .NET and ORACLE. I am using the following pipes at the moment: 1) ** generate an xml after input data in a form ** 2) ** with the result from the first pipe i want call the next pipe (3), ** ** calling a match SOAPCALL in this other application/sitemap. ** 3) ** pipe in the outside application ** false Thanks for ypur help! ;-) Regards Dirk ------_=_NextPart_001_01C4BCBD.7D7CBC8F Content-Type: text/html Content-Transfer-Encoding: quoted-printable How can i assign a result of a pipe (stream) to another pipe = (urgend!!!)

For the first problem use content aggregatation. Look at map:aggregate on = the Cocoon site for examples and a full desc.

 

Nick Frangos
 

-----Original = Message-----
From: = D.Skirde@hzd.hessen.de [mailto:D.Skirde@hzd.hessen.de]
Sent: =
Thursday, 28 October 2004 3:36 PM
To:
users@cocoon.apache.org
Subject: How can i = assign a result of a pipe (stream) to another pipe (urgend!!!)

 

Hi,

i have a problem in understanding how i can give a result(stream) of a = pipe to another pipe,
working now with his stream.

Following happens:

from an input form (woody) i am getting/transforming an xml stream (1) = in the expected way.
Now, at the end of the pipe i want call another pipe in my sitemap and = assign the stream to
the pipe i call, so that the new pipe can now working with the incoming = stream.

How can i do this?

Next question:
In (2) i am calling a sitemap in an outside application and make a soap = call (runs very well).
How must i accept the incoming xml-stream (perhaps with $request)?

Sorry, i am very new in cocoon and not so firm with it, but i must = write a small application
during my actual project. Normaly i am working with .NET and = ORACLE.

I am using the following pipes at the moment:

1)
** generate an xml after input data in a form **
<map:match pattern=3D"*eingabestream">
  <map:generate type=3D"serverpages" src=3D"xsp/anfrage_daten.xsp"/>
  <map:transform type=3D"xslt" src=3D"stylesheets/xmlform2html.xsl"/>
  <map:serialize type=3D"xml"/>
</map:match>


2)
** with the result from the first pipe i want call the next pipe (3), = **
** calling a match SOAPCALL in this other application/sitemap.        **
<map:match pattern=3D"ok">
  <map:generate type=3D"wsproxy" src=3D"http://localh= ost:8082/cocoon/EWO_Request/soapcall"/>
  <map:transform type=3D"xslt" src=3D"xsl/XMELD_Trefferliste.xsl"/>
  <map:serialize type=3D"html"/>
</map:match>

3)
** pipe in the outside application **

<map:match pattern=3D"soapcall">
  <map:generate type=3D"serverpages" src=3D"xsp/soap_anfrage.xsp" label=3D"raw"/>
  <map:transform type=3D"xslt" src=3D"xsl/simpletrans.xsl" = label=3D"simpletrans"/>
  <map:serialize type=3D"xml">
    = <set-content-length>false</set-content-length>
   </map:serialize>
</map:match>


Thanks for ypur help! ;-)


Regards Dirk

------_=_NextPart_001_01C4BCBD.7D7CBC8F--