A few ideas/questions:
Try print $req->as_string to see what your request looks like.
When do you attach the XML to the request? I don't see it anywhere in this code. Maybe something like:
$req = new HTTP::Request ('POST', 'http://server/pay.cgi', 'text/xml', + $xml)
You are sending this via a POST. That suggests to me that you need to stringify the XML and assign it to a CGI variable name.
Its not the total answer, but I hope it helps.
</ajdelore>
In reply to Re: Problems sending XML to webserver
by ajdelore
in thread Problems sending XML to webserver
by tcf22
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |