Lets say you have the following code

<?xml version="1.0"?>
<!DOCTYPE Information SYSTEM "information.dtd">
<Food xml:lang="en-US">
<FoodType>Cereal</AccessLicenseNumber>
<BrandName>Kellogs</BrandName>
<Vitamins>C</Vitamins>
</Food>

I am in need of direction as far as how I can post this xml via some scripting language preferebly ASP(vb) or CGI to a remote server, The server parse the xml request and send out an response back with new xml that I will then have to parse into my current website. This is confusing as far as how to post this information. Sending out a http post request so far hasn't been very successful. Any thoughts, suggestions would greatly be appreciated!

The following is screwed up cgi header request that redirects me to the correct location, but doesn't send the attachment or any information back:

print $query->header(-method=>'POST',
-type=>'application/xml',
-expires=>'+3d',
-charset=>'UTF-8',
-attachment=>'food.xml',
-location=>'https://someserver.com/xml',
-accept=>'application/xml');