cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carsten Ziegeler" <cziege...@s-und-n.de>
Subject Problems with StreamGenerator
Date Tue, 09 Apr 2002 12:52:36 GMT
Hi,

when I use the stream generator with the HTTPClient-Package
(http://www.innovation.ch/java/HTTPClient), Cocoon hangs.

The client uses the following code:

   URL url = new URL("http://localhost");
   connection = new HTTPConnection(url);

   NVPair[] pairs = new NVPair[1];
   pairs[0] = new NVPair("Content-Type","text/xml");

   HTTPResponse response = connection.Post("sunshine/jbtest/streamtest",
                                           "<test/>", pairs);
   int result = response.getStatusCode();

Using a Post Parameter in combination with the map:parameter "form-name"
works as expected.

Is there anything I forgot to do on the client side?

Thanks,
Carsten

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message