What is wrong with this http post script

All i get as a response is ?????????????????????????????????? a whole bunch of question marks

according to my pathetic understanding of this, to get the reply from the server i use
ResultBytes = XMLHTTP.responseBody
response.write ResultBytes
but all i get is the question marks from the fedex server.

     dim xmlhttp
     set xmlhttp = server.Createobject("MSXML2.ServerXMLHTTP")
     xmlhttp.Open "POST","https://gatewaybeta.fedex.com:443/GatewayDC",false
  set xmlDoc = Server.CreateObject("Msxml2.DOMDocument")
xmlDoc.async = false

XMLHTTP.setRequestHeader "Referer","ABC LTD."
XMLHTTP.setRequestHeader "Host", "gatewaybeta.fedex.com:443"
XMLHTTP.setRequestHeader "Accept","image/gif, image/jpeg, image/pjpeg,text/plain, text/html, */*"
XMLHTTP.setRequestHeader "Content-Type","image/gif"
XMLHTTP.setRequestHeader "Content-Length", Len(xmldoc.xml)

     xmlhttp.send xmldoc.xml
    ResultBytes = XMLHTTP.responseBody
response.write ResultBytes
             Set xmlhttp = nothing
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

XMLHTTP.setRequestHeader "Content-Type","image/gif"
xmlhttp.setRequestHeader "Content-Type","text/xml"


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Ricky11Author Commented:
same response.....

this to be exact

My ASP isn't that great, but could it be that the respnse is in unicode?

Gertone (Geert Bormans)Information ArchitectCommented:
Hi Ricky11,
>     ResultBytes = XMLHTTP.responseBody

try ResultBytes = XMLHTTP.responseXML
and threat it as text

my 2cts

Ricky11Author Commented:
tried everthing... talking to fedex now... still doesn't work

anyway will close this...
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.