VB 6.0 error while accessing web service: 2146697208 RRS feed

  • Question

  • I am getting error : -2146697208, while sending xml to payment gateway web service. The application is developed in VB6.0 and the OS is Windows Embedded Standard (touch screen).

    And also the code works fine in Windows XP, and i verified the same with third party tools for testing Web Services (SOAP UI) in Windows Embedded Standard system and it works fine. Looks like the issue is related to VB6.0 and the OS. Please help. 

    Code Snippet:

          vXML = BuildXML()

         webServiceUrl = "https://www.xxxx.com/roxapi/rox.asmx"

          vXML = SoapWrapper(vXML)

          httpReq.Open "POST", webServiceUrl, False

          httpReq.setRequestHeader "Content-Type", "text/xml"

          httpReq.setRequestHeader "Connection", "close"

          httpReq.setRequestHeader "SOAPAction", "https://www.xxxx.com/roxapi/ProcessTransaction"

          httpReq.send vXML (error is thrown here)

          results = httpReq.responseText 


    Tuesday, January 15, 2013 5:51 PM