Hallo,
sorry to bother you with my problems, but I'm really stuck.
I'm trying to run rpc-communications via the xml-rpc package of steve
balls using tclhttpd3.1.
I wrote a small client programm which aims at calling the sample
MyMethod in the tclhttpd.rc configuration file of the xml-rpc package.
The client sends the following request (the call wrapped for better
display), which looks correct to me:
POST /xmlrpc HTTP/1.0
Accept: */*
Host: localhost
User-Agent: Tcl http client package 2.3
Content-Type: text/xml
Content-Length: 194
<?xml version='1.0'?>
<!DOCTYPE methodCall>
<methodCall>
<methodName>MyMethod</methodName>
<params>
<param><value>test</value></param>
<param><value><i4>20</i4></value></param>
</params>
</methodCall>
.
The call arrives at the server but the data are lost:
The contents of the Httpd$sock(query) array, caught in URL-Dispatch is
empty, but mime,content-type and mime,content-length are correct.
Has anybody an idea what's running wrong?
Thanks in advance
--
Dr. Joachim Heidemeier Tel. +49-30-8903-2780
Fachgebiet II 3.2 joa...@ub...
Federal Environmental Agency, Bismarckplatz 1 D-14191 Berlin
|