Parsing XML Responses

A connected application can select XML nodes from the CyberStore Connect response. An EventResponse number of 000 indicates success.

If WEBSERVICERESPONSE.loadXML(SoapRequest.responseXml.xml) Then
    Dim node = WEBSERVICERESPONSE.documentElement.selectSingleNode("//EventResponse/Number")

    If node.text = "000" Then
        YOUHAVEACCESS = True
    Else
        YOUHAVEACCESS = False
        Session("SessionToken") = ""
    End If
End If

Other EventResponse numbers and messages support operation-specific error handling. See Response Codes.


This site uses Just the Docs, a documentation theme for Jekyll.