V
VK
Dear All:
I have an issue trying to parse response from xml document, for that
matter I don't receive back response.
I am trying to integrate UPS e-commerce online tool into our web site,
this tool calcuates the rates and services and returns back all the
different shipping rates.
Below is the code trying to display the return response.
==============
Set xml = Server.CreateObject("Microsoft.XMLHTTP")
xml.Open "POST", "https://wwwcie.ups.com/ups.app/xml/rate", False
xml.setRequestHeader "Content-Type", "application/x-www-form-urlencoded"
xml.Send xmltext
Response.Write xml.responseText
Dim xmldom
Set xmldom = Server.CreateObject("Microsoft.XMLDOM")
xmldom.async = false
xmldom.loadxml(xml.responseText)
(xmltext - has the XML string to send )
When I try to set
Set root = xmldom.documentElement
and try to display the child nodes - it comes back with error message.
Any help would be appreciated.
Many thanks.
I have an issue trying to parse response from xml document, for that
matter I don't receive back response.
I am trying to integrate UPS e-commerce online tool into our web site,
this tool calcuates the rates and services and returns back all the
different shipping rates.
Below is the code trying to display the return response.
==============
Set xml = Server.CreateObject("Microsoft.XMLHTTP")
xml.Open "POST", "https://wwwcie.ups.com/ups.app/xml/rate", False
xml.setRequestHeader "Content-Type", "application/x-www-form-urlencoded"
xml.Send xmltext
Response.Write xml.responseText
Dim xmldom
Set xmldom = Server.CreateObject("Microsoft.XMLDOM")
xmldom.async = false
xmldom.loadxml(xml.responseText)
(xmltext - has the XML string to send )
When I try to set
Set root = xmldom.documentElement
and try to display the child nodes - it comes back with error message.
Any help would be appreciated.
Many thanks.