From: Brent W. <bre...@in...> - 2000-11-14 18:15:26
|
In 3.1 the POST data is not automatically loaded inthe Httpd$sock(query) In 3.2 it is (based on the -readpost flag to Url_PrefixInstall). In 3.1, you can call either Url_ReadPost or Httpd_GetPostData (look at url.tcl and httpd.tcl to see what you want to use) >>>"j.heidemeier" said: > 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 > > _______________________________________________ > TclHttpd-users mailing list > Tcl...@li... > http://lists.sourceforge.net/mailman/listinfo/tclhttpd-users -- Brent Welch <bre...@in...> http://www.interwoven.com |