日期:2014-05-16 浏览次数:21054 次
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<Get_ProjectLicense_ListResponse xmlns="http://tempuri.org/">
<Get_ProjectLicense_ListResult>
{LicenseList:[{'lic_no':'aaa','proName':'bbb','lic_datetime':'2013-6-19'},{'lic_no':'aaa','proName':'bbb','lic_datetime':'2013-6-19'}]}
</Get_ProjectLicense_ListResult>
</Get_ProjectLicense_ListResponse>
</soap:Body></soap:Envelope>
<%
s = "<?xml version=""1.0"" encoding=""utf-8""?>" &_
"<soap:Envelope xmlns:soap=""http://schemas.xmlsoap.org/soap/envelope/"" xmlns:xsi=""http://www.w3.org/2001/XMLSchema-instance"" xmlns:xsd=""http://www.w3.org/2001/XMLSchema"">" &_
"<soap:Body>" &_
"<Get_ProjectLicense_ListResponse xmlns=""http://tempuri.org/"">" &_
"<Get_ProjectLicense_ListResult>" &_
"{LicenseList:[{'lic_no':'aaa','proName':'bbb','lic_datetime':'2013-6-19'},{'lic_no':'aaa','proName':'bbb','lic_datetime':'2013-6-19'}]}" &_
"</Get_ProjectLicense_ListResult>" &_
"</Get_ProjectLicense_ListResponse>" &_
"</soap:Body></soap:Envelope>"
sText = ""
Set oDoc = CreateObject("Msxml2.DOMDocument")
With oDoc
.async = False
.validateOnParse = False
.preserveWhiteSpace = False
.resolveExternals = False
.loadXML s
If .parseError.errorCode <> 0 Then
sErrMsg = .parseError.errorCode & "
------解决方案--------------------
" &_
.parseError.srcText & "
------解决方案--------------------