|
Hi Grzegorz, Thanks for your quick reply. I'm afraid I don't know the correct terminology. By "payload" I meant by using the output stream of the established connection. In Java terms, it looks like this: // Prepare XML request ByteArrayOutputStream baos = new ByteArrayOutputStream(); baos.write(...); // Open and prepare connection URL url = new URL("http://..."); URLConnection urlConn = url.openConnection(); urlConn.setDoInput(true); urlConn.setDoOutput(true); urlConn.setRequestProperty("Content-Encoding", "text/xml"); urlConn.setRequestProperty("Content-Type", "application/xml"); urlConn.setRequestProperty("Content-Length", String.valueOf(baos.size())); // Send XML request urlConn.getOutputStream().write(baos.toByteArray()); // Read response BufferedInputStream in = new BufferedInputStream(urlConn.getInputStream()); in.read(...); I'll take a look at Cocoon 2.2 and Sébastien's query. Although our project has been underway for a while, we've only been using the XSLT and SQL transformers, so I'm hoping the differences won't be great. Andy Grzegorz Kossakowski wrote: --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]Andrew Chamberlain pisze:Hi All, |
- CInclude POST (by Payload) Andrew Chamberlain
- Re: CInclude POST (by Payload) Grzegorz Kossakowski
- Re: CInclude POST (by Payload) Andrew Chamberlain
- Re: CInclude POST (by Payload) Grzegorz Kossakowski
- Re: CInclude POST (by Payload) Andrew Chamberlain
- Re: CInclude POST (by Payload) Grzegorz Kossakowski
- Re: CInclude POST (by Payload) warrell harries
- Re: CInclude POST (by Payload) Andrew Chamberlain
- Re: CInclude POST (by Payload) Sébastien Geindre
- Re: CInclude POST (by Payload) Andrew Chamberlain
- Re: CInclude POST (by Payload) Sébastien Geindre
- Re: CInclude POST (by Paylo... Joerg Heinicke
- Re: CInclude POST (by P... Sébastien Geindre
