"responseXML" not working (NEW)
Printed From: SalesCart
Category: Legacy Products
Forum Name: SalesCart Standard / PRO / SQL
Forum Description: All questions pertaining to SalesCart Standard, PRO and SQL should be posted here.
URL: http://forum.salescart.com/forum/forum_posts.asp?TID=423
Printed Date: November/23/24 at 5:52pm Software Version: Web Wiz Forums 11.04 - http://www.webwizforums.com
Topic: "responseXML" not working (NEW)
Posted By: wesonline
Subject: "responseXML" not working (NEW)
Date Posted: September/14/05 at 4:03pm
I am in the process adding a HEAVY freight shipping service to our SalesCart shipping module. The shipping company I am using provides response in XML. I have created an ASP module that is being invoked by "shipping2.asp" and controlled by "shippingini" in the same manner as the supplied "UPS", "FedEX", "USPS" and "DHL" ASP modules. In fact my ASP module is quite similar to the "DHLreal.asp" module. However, instead of using the XML DOM property "responseText" to receive my response from the shipping company, I am attempting to use the XML DOM property "responseXML". This is because I know the reponse is in XML. MicroSoft's MSDN says if you know your response is in XML, use "responseXML" and not "responseText". When I run the application I get an error #438 "Object doesn't support this property or method". When I change it to "responseText" the application runs without error, but returns the response data as a text "string" with no XML tags. This is like worthless data. I am at a loss to understand why the XML DOM property "responseXML" dosen't work on my ComCity server. Anyone have any ideas?
|
|