Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to XMLHTTP a client XML string to server ASP
Message
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
01066797
Message ID:
01067557
Views:
12
Thanks Terry,
i've tried like below but was unsuccesfull :(
LcXml= SYS(5)+CURDIR()+'test.xml' && i've added to Terry's code

lcURL=[http://85.111.0.121/PwSmsToMany.php]
oHTTP=NewOBJECT("MSXML2.XMLHTTP")
oHTTP.open([POST],lcURL,.f.)
oHttp.setRequestHeader("Content-Type", "text/xml")
oHttp.send(lcXML)
ConfirmationXML = oHTTP.responseXML.xml && i've added to Terry's code
? ConfirmationXML
oHTTP.abort
and my xml file like below which is sms server requested syntax
<?xml version = "1.0" encoding="Windows-1252" standalone="yes"?>
	 <MainMsgBody> 
	 <username>xxxxx-xxxxx</username> 
	 <password>yyyyyyy</password>
	 <mesgbody>soykan test sms</mesgbody> 
	 <numbers>905339999999,905338888888</numbers>
	 <type>1</type> 
	 <originator></originator>
	 <sdate></sdate> 
	 <edate></edate> 
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform