hello ,


i'm working on a project that involves some XML-RPC system. The idea is
to POST a XML to a ASP script which will than process this
and return a XML back to the client.

To do that a send sommething like this (output from ethereal dump) :

POST /cp-bin/rc2.asp HTTP/1.0
Host: linux
User-Agent: libwww-perl/5.36
Content-Length: 156
Content-Type: text/xml

<?xml version="1.0"?>
<methodCall>
<methodName>examples.getStateName</methodName>
<params>
<param><value><i4>1</i4></value></param>
</params>
</methodCall>

The problem now is , that in the asp script i get a Totalbytes of 156
bytes but the content string is empty ?

#Get posted XML query
my $len = $Request->{TotalBytes};
my $i   = $Request->BinaryRead($len);

#log input query
$Response->Debug("recieved $len bytes");
$Response->Debug("data [$i]");

Does anybody has a clue where the 156 bytes are ???

                thanks
        luc willems

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

Reply via email to