globalterminal
asked on
reading an XML file in classic ASP/vbscript
In my ASP page, I have variable that has an XML response payload inside. How would i best parse this field? to get the node values from the string?
it is IIS 6.0 so i have some options. but the ASP is classic ASP and i dont have time rewrite the ASP applications.
when i do this:
response.Write("FULL XML: " & wsResponse)
i get this:
FULL XML: 3Severe errors occurred, check message.No active truck visit found for Gate Visit Nbr 741.SEVERE<argo:gate-respo nse xmlns:argo="http://www.test.com/argo" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.test.com/argo GateWebserviceResponse.xsd "><submit- transactio n-response /></argo:gate-response><up date-statu s> <document-update status="ACCEPTED" ></document-update > <entity-updates amount-successful="0" amount-failed="1" amount-not-found="0"> <logical-entity-update logical-entity="n/a" id="unknown" status="FAILED" >No active truck visit found for Gate Visit Nbr 741.</logical-entity-updat e> </entity-updates> </update-status>
it is IIS 6.0 so i have some options. but the ASP is classic ASP and i dont have time rewrite the ASP applications.
when i do this:
response.Write("FULL XML: " & wsResponse)
i get this:
FULL XML: 3Severe errors occurred, check message.No active truck visit found for Gate Visit Nbr 741.SEVERE<argo:gate-respo
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.