This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: 2 sends
- From: "Michael Kay" <michael dot h dot kay at ntlworld dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Tue, 23 Apr 2002 23:40:11 +0100
- Subject: RE: [xsl] 2 sends
- Reply-to: xsl-list at lists dot mulberrytech dot com
Does this have anything to do with XSLT?
Michael Kay
Software AG
home: Michael.H.Kay@ntlworld.com
work: Michael.Kay@softwareag.com
> -----Original Message-----
> From: owner-xsl-list@lists.mulberrytech.com
> [mailto:owner-xsl-list@lists.mulberrytech.com]On Behalf Of Pet **
> Sent: 23 April 2002 23:25
> To: xsl-list@lists.mulberrytech.com
> Subject: [xsl] 2 sends
>
>
> 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
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list