Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 94731 invoked from network); 29 Aug 2007 10:39:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 Aug 2007 10:39:19 -0000 Received: (qmail 77535 invoked by uid 500); 29 Aug 2007 10:39:12 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 77485 invoked by uid 500); 29 Aug 2007 10:39:12 -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 List-Id: Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 77472 invoked by uid 99); 29 Aug 2007 10:39:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Aug 2007 03:39:12 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_HELO_PASS,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [216.86.168.179] (HELO mxout-04.mxes.net) (216.86.168.179) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Aug 2007 10:39:05 +0000 Received: from [192.168.0.125] (unknown [80.240.191.89]) by smtp.mxes.net (Postfix) with ESMTP id E72B0A3204 for ; Wed, 29 Aug 2007 06:38:42 -0400 (EDT) Message-ID: <46D54CAE.9000904@apache.org> Date: Wed, 29 Aug 2007 12:38:38 +0200 From: Grzegorz Kossakowski User-Agent: Thunderbird 2.0.0.5 (X11/20070719) MIME-Version: 1.0 To: users@cocoon.apache.org Subject: Re: CInclude POST (by Payload) References: <46D548B9.2030005@comsine.co.uk> In-Reply-To: <46D548B9.2030005@comsine.co.uk> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org Andrew Chamberlain pisze: > Hi All, > > Just wondering if anyone can help. As part of a service I'm > constructing, I need to send an XML request to an external service by > HTTP Post. For this, I'm looking at using the CInclude transformer, but > all the examples I can find seem to use a parameter to pass the data, > rather than sending it as part of the payload (which the external > service expects). What do you mean by "part of the payload"? > Has anyone managed to do this, or am I looking at the need for an > external Java class? Any advice/ideas would be much appreciated. > > I'm using Cocoon (2.1.10) under JBoss (4.0.5 GA). When it comes to 2.1.x version, I think you will have to extend CInclude transformer or write your own. S�bastien Geindre has asked question about similar functionality yesterday but he uses Cocoon 2.2, that thread[1] may be helpful for you to get an idea what Cocoon 2.2 can offer you in regard to this. If you want more help you will need to tell us what kind of data do you want to POST and where it comes from. Switching to C2.2 is also worth consideration if your project is in early stages of development. [1] http://www.mail-archive.com/users@cocoon.apache.org/msg39591.html -- Grzegorz Kossakowski http://reflectingonthevicissitudes.wordpress.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org