Wrox Programmer Forums
Go Back   Wrox Programmer Forums > XML > XML
|
XML General XML discussions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the XML section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 28th, 2006, 10:07 PM
Registered User
 
Join Date: Mar 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default XHLHTTP object returns immediately

Hi,

I'm using the XMLHTTP object to upload SOAP/XML in my program (VB6). It works fine on broadband on LAN & dial-up, but for a 1-way satellite connection (satellite download, POTS upload) the readyState = 4 basically as soon as .send is called. The .statusText is not what is expected.

Unfortunately, this problem is occurring on customers' machines and the .status and .statusText are not available.

Does anyone know why the satellite connection may give different results?

Thanks a lot for any help.
-Dougy

<code>
' abort as boolean 'global variable
    Dim objHTTP As New XMLHTTP
    Dim strMessage As String

    'Create the xml string (file) to send (has been truncated here)
    strMessage = "<?xml version=""1.0"" encod" ...

    objHTTP.open "post", XML_ADDRESS, True
    objHTTP.send strMessage

    Dim startTime As Single
    startTime = Timer
    'wait for response, allow user to quit
    Do While Not abort And objHTTP.readyState <> 4
        Sleep 10
        DoEvents
    Loop
</code>






Similar Threads
Thread Thread Starter Forum Replies Last Post
current changes are not saving immediately venkys C# 1 January 27th, 2006 11:01 AM
Session expires immediately codebuyer Classic ASP Components 6 March 18th, 2005 12:54 PM
Please Respond immediately sainaidu SQL Server 2000 2 August 10th, 2003 08:25 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.