I am using Web Service for Payment Gateway. I have written below code. It is working in Windows XP Operating System.
But when I am running this application in "Windows Embedded System (Operating System)", it is showing as "System Error -2147467259".
I am unable to trace the error. Please help me.
Here is the code:
Set httpReq = CreateObject("Microsoft.XMLHTTP")
vXML = BuildXML()
vXML = SoapWrapper(vXML)
httpReq.open "POST", webServiceUrl, False
httpReq.setRequestHeader "Content-Type", "text/xml"
httpReq.setRequestHeader "Connection", "close"
httpReq.setRequestHeader "SOAPAction", transactionUrl
I am getting error in line "httpReq.send vXML".