ASP经典、SOAP/XML请求和响应
这对我来说是相当陌生的,所以请容忍我 这是我的要求ASP经典、SOAP/XML请求和响应,xml,soap,vbscript,asp-classic,xmlhttprequest,Xml,Soap,Vbscript,Asp Classic,Xmlhttprequest,这对我来说是相当陌生的,所以请容忍我 这是我的要求 POST /weblordinterface/interface.asmx HTTP/1.1 Host: weblord-test.toshiba-tro.de Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmln
POST /weblordinterface/interface.asmx HTTP/1.1
Host: weblord-test.toshiba-tro.de
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<_getCaseById xmlns="http://weblord.toshiba-tro.de/">
<sIdCase>string</sIdCase>
<sUser>string</sUser>
<sPassword>string</sPassword>
</_getCaseById>
</soap12:Body>
</soap12:Envelope>
一行
msxml3.dll错误“800000A”
完成此操作所需的数据尚不可用
请其中一位专家帮助当您打开连接时,您正在指定一个异步请求。因此,数据在后续代码中尚不可用。将此更改为同步请求 换成这个
objXMLHTTP.open "POST", "http://weblord.toshiba-tro.de/weblordinterface/interface.asmx" , true
…为了这个
objXMLHTTP.open "POST", "http://weblord.toshiba-tro.de/weblordinterface/interface.asmx" , false
伙计们,我明白了
主持人:weblord-test.toshiba-tro.de
是我给的,我发的
objXMLHTTP.open“POST”
一旦我添加了-test,它现在就可以工作了。谢谢John,我已经尝试了Async和snyc,syn的状态显示为403。它需要同步。403状态为未授权,表示您连接的凭据无效,或者您访问的计算机需要被列入白名单。
If objXMLHTTP.status = 200 Then
objXMLHTTP.open "POST", "http://weblord.toshiba-tro.de/weblordinterface/interface.asmx" , true
objXMLHTTP.open "POST", "http://weblord.toshiba-tro.de/weblordinterface/interface.asmx" , false