I'm having trouble combining two Cocoon samples into the same mapping.
I setup this simple mapping using the Stream and POI examples in Cocoon
2.0.4:
When I fill the Stream example's form (OrderPage.xml modified t
Hello,
I'm trying to modify StreamGenerator so it can
accept "multipart" content-type in HTTP request. To do it I'm using "marsh"
project classes (in sourceForge.net).
I've used them in a test servlet and they work
well, but when I copy the code in
Oskar,
StreamGenerator is
expecting its input as a HTTP POST input.
There are two scenarios:
- For the POST requests with mime type of
application/x-www-form-urlencoded the xml data is expected to
be associated with the name specified in the sitemap
parameter.
- For the POST requests
What does the "form-name" parameter mean in the
context of the Stream Generator?
Oskar
ing
>> MIME-Declarations by the StreamGenerator?
>No. It does not eat mime multipart.
>> If not, can you give me some
>> hints on how to accept these Requests?
>You can code own generator, base it on stream generator. Take a look at
>the cocoon.components.request.mul
> From: Michael Raffenberg [mailto:[EMAIL PROTECTED]]
>
> Hi all,
>
> i am working on a service for the RosettaNet PIP2A9.
> Is it possible to accept HttpRequests with the following
> MIME-Declarations by the StreamGenerator?
No. It does not eat mime multipart.
> If n
Hi all,
i am working on a service for the RosettaNet PIP2A9.
Is it possible to accept HttpRequests with the following
MIME-Declarations by the StreamGenerator? If not, can you give me some
hints on how to accept these Requests?
MIME-Version: 1.0
Content-type: Multipart/Related; boundary
Hi,
I'm using Cocoon 2.0.1 with Tomcat 4.0.2-b2 on WindowsNT 4.0/SP5 with JDK
1.3.0.
I tried a code piece I found in one of the mailing lists concerning the
StreamGenerator, because I'm trying to use Cocoon2 as a XML 2 PDF converter.
I want to send an XML-document and get back a PDF. M
orm field content.
>
>TIA
>
>-Original Message-
>From: Joseph Jupin [mailto:[EMAIL PROTECTED]]
>Sent: Tuesday, February 12, 2002 11:58 AM
>To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
>Subject: Re: StreamGenerator: Could not get parser
>
>
>Hi, Steve...
>
>
EMAIL PROTECTED]]
Sent: Tuesday, February 12, 2002 11:58 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: StreamGenerator: Could not get parser
Hi, Steve...
I did detail the solution out in another post to this
newsgroup. I don't have a reference to the exact post -
but search f
Thanks for the info. Will try out the updated class soon.
-Original Message-
From: giacomo [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 11, 2002 3:48 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: problems with StreamGenerator...
On Mon, 11 Feb 2002, Steven Caswell
Hi, Steve...
I did detail the solution out in another post to this
newsgroup. I don't have a reference to the exact post -
but search for my last name and see if it returns from
that. If not, I'll search the archives tonite and forward
it to you. In it, I detail what I did with the sitemap
>REQUEST:
>/cocoon/request2 and the sitemap entry you are showing
>references request1.
>Kinga
>
>> -Original Message-
>> From: Joseph Jupin [mailto:[EMAIL PROTECTED]]
>> Sent: Wednesday, January 30, 2002 7:21 PM
>> To: [EMAIL PROTECTED]
>> Subject:
e) {
System.out.println ("Unable to connect to "+ m_url + "Exception: " +
e.getMessage());
System.exit(1);
}
> -Original Message-
> From: Joseph Jupin [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 30, 2002 4:36 PM
> To: [EMAIL PROTECTED]
nces request1.
Kinga
> -Original Message-
> From: Joseph Jupin [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 30, 2002 7:21 PM
> To: [EMAIL PROTECTED]
> Subject: StreamGenerator: Could not get parser
>
>
> Hey, All...
>
> Does anyone know how to handle
ttpProcessor[8080][4]/URLFactoryImpl:
Making URL from
file:/usr/local/jakarta-cocoon/webapps/cocoon/stylesheets/generic.xsl
DEBUG (2002-01-30) 19:07.49:235 [cocoon ]
(/cocoon/request2) HttpProcessor[8080][4]/TraxTransformer:
Using stylesheet:
'file:/usr/local/jakarta
>Hi,
>
>As a first step you should specify the Content-type HTTP
>header.
>StreamGenerator do not accepts all mime types.
>connect.setRequestProperty( "Content-type", "text/xml" );
>
>As a second the StreamGenerator sample is showing one of
>the aspe
Hi,
As a first step you should specify the Content-type HTTP header.
StreamGenerator do not accepts all mime types.
connect.setRequestProperty( "Content-type", "text/xml" );
As a second the StreamGenerator sample is showing one of the aspects of
StreamGenerator - ability
Hey, All...
I've been using Cocoon 2.0 for about a month & 1/2 now and
I've run into the following problem:
First off, refer to the Order example that comes with
cocoon which when you hit the submit, it will return the
xml typed into the textarea. Now, for testing, I've taken
my xml doc, mo
19 matches
Mail list logo