Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Processing an XML file to VFP cursors
Message
 
À
24/05/2004 04:08:26
Information générale
Forum:
Visual FoxPro
Catégorie:
XML, XSD
Divers
Thread ID:
00904549
Message ID:
00909266
Vues:
17
Hi Aleskey,

Just wanted to thank you for all your help on this issue.
I have one more question.

I am sending an XML request using the code below.

loXML.Send(cXML) keeps generating the following error :-
"OLE error code 0x800c0008 : Unknown Com Status"
If I send an empty string loXML.Send() it seems to work.
After sending an empty string I can then successfuly send a string loXML.Send(cXML) without getting the COM error.

Any ideas ?

Thanks
Carmel

lcURL = 'https://xml.usm.channelonline.com/REQUEST'
Local loXML As MSXML2.XMLHTTP
loXML = Createobject('MSXML2.XMLHTTP')
loXML.Open('POST', lcURL, .F.)
loXML.setRequestHeader('Content-type', 'text/xml')

* - SEND REQUEST
loXML.Send(cXML)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform