How to use XMLHTTP: //www.cnblogs.com/hbzxf in Exchange 2000
XML is one of the stored data formats in Exchange, generally applied in Exchange:
Some of the entries in the Web Storage System entry Exchange mode definition, often available in WebDAV
Return information, request, etc. in the request. Users also use Web Storage System to store XML documents, XSL text
Set, HTML document.
For example: The properties information stored in XML format in Exchange 2000 is as follows:
D: PrOP>
In order to learn the use of XML, the exemplary example will be explained, the following example clarifies how to construct an HTTP / WebDAV PROPFIND box method request for direct Exchange URL:
DIM XMLDOC
SUB cmdgo_onclick ()
DIM STRURL, STRPROPREG
Strurl = txturl.value
Stropreg = " XML VESION = '1.0'?>"
Stropreg = strpropreg & "
Stropreg = strpropreg & "
Stropreg = strpropreg & "
Stropreg = strpropreg & "
Stropreg = strpropreg & " d: prop>"
Stropreg = strpropreg & " d: propfind>"
With creteObject ("Microsoft.xmlhttp")
.Open "propfind", Strurl, True
.SetRequestHeader "Context-Type:", "Text / XML"
.SetRequestHeader "Depth", "1, Noroot"
.Send (strpropreg)
Responsehere.innertext = .ResponseText
End with
End Sub
script>
hEAD>
Enter a URL, Something Like http: // server / public / documents / p>
p>
p>
div>
body>
html>
(1) Access attributes in Web Storage System, use the PropFind method