asp如何接收XMLHTTP发送的XML包啊?急啊!帮帮忙!
我使用如下发送xml包?不知对吗?
StrXml="<?xml version=1.0 encoding=uft-8 ?>"
StrXml=StrXml & "<registerInfo><moble>"& moble &"</moble><cpcode>"& cpcode &"</cpcode></registerInfo>"
' StrXml=urlencoding(StrXml)
set objXml=server.CreateObject ("MSXML2.XMLHTTP")
objXml.open "post", "http://www.domain.com/deal.asp", false
objXml.SetRequestHeader "Content-Length", LEN(StrXml)
objXml.SetRequestHeader "Content-type", "applicaton/x-www-form-urlencoded"
objXml.send StrXml
如果对阿 ,deal.asp又应该接收这些数据阿?
StrXml="<?xml version=1.0 encoding=uft-8 ?>"
StrXml=StrXml & "<registerInfo><moble>"& moble &"</moble><cpcode>"& cpcode &"</cpcode></registerInfo>"
' StrXml=urlencoding(StrXml)
set objXml=server.CreateObject ("MSXML2.XMLHTTP")
objXml.open "post", "http://www.domain.com/deal.asp", false
objXml.SetRequestHeader "Content-Length", LEN(StrXml)
objXml.SetRequestHeader "Content-type", "applicaton/x-www-form-urlencoded"
objXml.send StrXml
如果对阿 ,deal.asp又应该接收这些数据阿?
...全文
相关推荐
利用ASP发送和接收XML数据的处理方法
request.asp dim Https set Https=server.createobject(“MSXML2.XMLHTTP”) ‘定义一个XMLHTTP对像 Https.open “POST”,”http://127.0.0.1/testpost/response.asp”,false Https.send ” echo 123456 987654 11111 22222 ” if Https.readystate=4 then response.write “提交成功” ’readstate读取状态为4则成功,继续后面的,不成功当然就不用继续处理了 dim ob
利用ASP发送和接收XML数据的处理方法与代码
利用ASP发送和接收XML数据的处理方法与代码
xmlhttp+asp+javascript+xml+json
不推荐下载,该版本存在较多问题<br>推荐下载笔者的新发布的该版本,名称为xmlhttp_asp+javascript+json+xml
asp+xmlhttp+javascript+xml
此为ajax的测试模型,通讯内容为xml形式的string; 客户端采用javascript提交xmlhttp请求; 服务端为asp进行处理
Asp.net XMLHTTP封装类(GET,Post发送和接收数据)
XMLHTTP封装类可以向远程发送URL和参数,接受返回信息(无乱码)


