How do i send XML data using xmlhttp to an https address?

Hi

I have a web application that reads XML files sent to it via xmlhttp. i have recently had a request to ensure that these files are sent over a secure channel and have purchased and installed an SSL certificate on the server. Perhaps foolishly I believed I could simply get the client to send to an https address, but on testing it I am getting a permission denied error when I try and run:

xmlhttp.Open("POST", "https://www.myUIRL.co.uk/xml_secure/xml.asp", false);      

Any ideas as to what I need to do to simply allow XMl data to be sent in to an https address?

cheers
Stewart
LVL 2
digital_soulAsked:
Who is Participating?
 
B_DorseyConnect With a Mentor Commented:
are you sure the script is running on a secure webpage?
0
 
Weiping DuSenior Web DeveloperCommented:
Have you ever try something like:  xmlhttp.Open("POST", "https://www.myUIRL.co.uk/xml_secure/xml.asp", false, "username","password");
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.