[英]Making a ServerXMLHTTP with a custom protocol in the URL
Here's what I'm trying to do... 这就是我想要做的...
oXMLHTTP = Server.CreateObject("MSXML2.ServerXMLHTTP.3.0");
oXMLHTTP.open("GET", "ccte://recservice.com", false);
oXMLHTTP.send();
And here is the error I get in return... 这是我得到的错误...
msxml3.dll error '80072ee6'
msxml3.dll错误'80072ee6'
The URL does not use a recognized protocol网址未使用公认的协议
It works fine if I make the request using the HTTP protocol (ie http://recservice.com
instead of ccte://recservice.com
). 如果我使用HTTP协议(即
http://recservice.com
而不是ccte://recservice.com
)发出请求,则效果很好。 Is there anything I can do within the IIS configuration to get ServerXMLHTTP requests working with my custom protocol? 我可以在IIS配置中做些什么来使ServerXMLHTTP请求与我的自定义协议一起使用?
While I've not been able to find anything conclusive I would be very surprised if this was supported. 虽然我找不到任何结论性的内容,但如果得到支持,我会感到非常惊讶。
The error 错误
msxml3.dll error '80072ee6'
msxml3.dll错误'80072ee6'
The URL does not use a recognized protocol网址未使用公认的协议
is the first clue as it's the ServerXmlHttp
object that is raising the error, not IIS or other lower level sources. 这是第一个线索,因为引发错误的是
ServerXmlHttp
对象,而不是IIS或其他较低级别的源。
Another clue is the name ServerXml Http , which tells you this object supports the HTTP protocol (to by extension to a certain extent HTTPS) . 另一个线索是名称ServerXml Http ,它告诉您该对象支持HTTP协议(在某种程度上扩展为HTTPS) 。
This object is not a TCP/IP Client, it's a Web Client so anything over than standard Web Protocols is not going to be supported. 该对象不是TCP / IP客户端,而是Web客户端,因此将不支持任何超出标准Web协议的内容。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.