初学者提问:vbs运行出现“指定资源下载失败”。load出问题
日期:2006-03-29 荐:
初学者提问:vbs运行出现“指定资源下载失败”。load出问题fn=inputbox("type the value for first","webservice client",5)sn=inputbox("type the value for second","webservice client",7)URL=inputbox("location of service","webservice client","http://localhost/webservice/firstservice.asmx")set doc=CreateObject("MSXML2.DOMDocument")doc.async=falsecompleteURL=URL & "/add?first="&fn&"&second="&snif not doc.Load(completeURL) Thenset myErr=doc.parseErrormsg=myErr.reasonmsg=msg&myErr.errorCode msgbox(msg)elsedoc.setProperty "SelectionLanguage", "XPath"sel="/*"set selectSingleNode=doc.selectSingleNode(sel)txt=selectSingleNode.textmsgbox "here's the result:" & txt,0,"WebService Client"end if我弄了好久了也没有发现什么问题。我初学xml。很多都不了解,请多指教doc.Load(completeURL) 不是本地的你用xmlhttp去下载什么意思呢,为什么说不是本地的?请指点
标签: