[DUG] Microsoft.XMLHTTP
Wilkin, Kurt
Kurt.Wilkin at fnzc.co.nz
Mon Oct 3 03:21:19 NZDT 2005
> -----Original Message-----
> From: delphi-bounces at ns3.123.co.nz
[mailto:delphi-bounces at ns3.123.co.nz] On Behalf Of Jeremy Coulter
> Sent: Sunday, 2 October 2005 11:02 p.m.
> To: delphi at delphi.org.nz
> Subject: [DUG] Microsoft.XMLHTTP
>
>
> Hi All.
> I am trying to use the ComObj "Microsoft.XMLHTTP" to pass an
XMLDOCUMENT , i.e.
>
> oXMLHTTP.send(oXMLDOC)
>
> I have used oXMLDOC.LoadXML and given it some XML, and it seems to
load it
> ok, i.e. no errors are raised, but as soon as I do the .Send(oXMLDOC)
it
> throws an error "The download of the specified resource has failed."
Are you doing an oXMLHTTP.Open first?
oXMLHttp.open (get/post, url, sync/async, username, password)
Also may want to check oXMLDOC.xml exists at the time that its getting
sent.
Cheers, Kurt.
This electronic message together with any attachments is confidential and
intended for the named recipient's use only. If you are not the intended
recipient (i) do not copy, disclose or use the contents in any way, (ii)
please let us know by return email immediately then destroy the message, and
any hard copies of the message, and any attachments. The sender of this
message is not responsible for any changes made to this message and/or any
attachments and/or connection linkages to the Internet referred to in this
message after it has been sent. Unless otherwise stated, any pricing
information given in this message and/or attachments is indicative only, is
subject to change and does not constitute an offer to buy or sell securities
or derivatives at any price quoted. Any reference to the terms of executed
transactions should be treated as preliminary only and subject to separate
formal written notification. Where reference is made to research material
and/or research recommendations, the basis of the provision of such research
material and/or recommendations is set out in the relevant disclaimer.
More information about the Delphi
mailing list