[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

2 sends

Subject: 2 sends
From: "Pet **" <pspet@xxxxxxxxxxx>
Date: Tue, 23 Apr 2002 19:25:21 -0300
msxml2.domdocument40 download
Hello:

I'm using MSXML2.XMLHTTP to send XML data to an ASP page,
'*****************************************************
' This is a test on VB

   Dim doc As MSXML2.DOMDocument40
   Dim docRet As MSXML2.DOMDocument40
   Dim url As String

   Set doc = New MSXML2.DOMDocument40
   If Not doc.Load(xmlFile) Then
       Call Err.Raise(vbObjectError, "Here", "Load Error")
   End If

url = someURL

   Dim http As MSXML2.XMLHTTP40
   Set http = New MSXML2.XMLHTTP40

   Call http.open("POST", url, False)
   Call http.send(doc)
   Set docRet = http.responseXML

   MsgBox docRet.xml
'*****************************************************

it fails at "send" method,
but if I send an empty request just before...

   Call http.open("POST", url, False)
   Call http.send

it works!!

Any idea??

PD: running the script on the server machine I don't have this problem....


_________________________________________________________________
Únase con MSN Hotmail al servicio de correo electrónico más grande del mundo. http://www.hotmail.com



XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



Current Thread
  • 2 sends
    • Pet ** - Tue, 23 Apr 2002 18:20:08 -0400 (EDT) <=
      • <Possible follow-ups>
      • Pet ** - Wed, 24 Apr 2002 15:45:25 -0400 (EDT)

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.