Hi David,
Am Donnerstag, 11. August 2005 08:16 schrieb David N. Welton:
> Arnulf Wiedemann wrote:
> > I am awaiting your answer, if you have found out a solution.
>
> It might take a few days, depending on how much time I have, but it
> seems that it's something that will be useful for others.  If you have
> some C skills, it probably wouldn't be that hard to get started looking
> at it... to be correct you'd want to modify apache_request.c to save the
> data and then create a Tcl command to access it.

I think I have it running!
I did the following changes:

apache_request.h:
line 86 append:
#define TEXT_XML_ENCTYPE "text/xml"
#define TEXT_XML_ENCTYPE_LENGTH 8

apache_request.c:

360,367d359
< static void split_to_xml_var(ApacheRequest *req, const char *data)
< {
<     if (*data) {
<       ap_table_add(req->parms, "XML_CONTENTS", data);
<     }
<
< }
<
383,385d374
<       else if (ct && strncaseEQ(ct, TEXT_XML_ENCTYPE, 
MULTIPART_ENCTYPE_LENGTH
)) {
<          result = ApacheRequest_parse_urlencoded(req);
<       }
421,425c410
<           if (strncaseEQ(type, TEXT_XML_ENCTYPE, TEXT_XML_ENCTYPE_LENGTH)) {
<               split_to_xml_var(req, data);
<           } else {
<               split_to_parms(req, data);
<           }
---
>           split_to_parms(req, data);

For me, that is what I need, to get the xml part via VARS(XML_REQUEST) for 
processing, maybe you planned it a little bit different, if yes please let me 
know. As I am only playing around with SOAP I don't need the final solution 
at once.

One additional point: I don't know if that was already posted to the list, the 
INSTALL and README files of the rivet_0.5.0 tarball, which I downloaded today 
(last official release) need some modification to fit to the "reality" ;-) 
(configure.tcl <--> configure)

Arnulf

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to