首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > .NET > .NET >

无法解析axis返回的结果xml解决办法

2012-03-13 
无法解析axis返回的结果xmlaxis返回一个结果,比如:-----------------------?xmlversion 1.0 encoding

无法解析axis返回的结果xml
axis返回一个结果,比如:
-----------------------
<?xml   version= "1.0 "   encoding= "UTF-8 "?>
<soapenv:Envelope
xmlns:soapenv= "http://schemas.xmlsoap.org/soap/envelope/ "
xmlns:xsd= "http://www.w3.org/2001/XMLSchema "
xmlns:xsi= "http://www.w3.org/2001/XMLSchema-instance ">
<soapenv:Body>
<ns1:findallAuthorityResponse
soapenv:encodingStyle= "http://schemas.xmlsoap.org/soap/encoding/ "
xmlns:ns1= "http://webservice.alcatel.com ">
<findallAuthorityReturn   href= "#id0 "   />
</ns1:findallAuthorityResponse>
<multiRef   id= "id0 "   soapenc:root= "0 "
soapenv:encodingStyle= "http://schemas.xmlsoap.org/soap/encoding/ "
soapenc:arrayType= "xsd:anyType[1] "   xsi:type= "soapenc:Array "
xmlns:soapenc= "http://schemas.xmlsoap.org/soap/encoding/ ">
<multiRef   href= "#id1 "   />
</multiRef>
<multiRef   id= "id1 "   soapenc:root= "0 "
soapenv:encodingStyle= "http://schemas.xmlsoap.org/soap/encoding/ "
xsi:type= "ns2:SysAuthority "   xmlns:ns2= "urn:BeanService "
xmlns:soapenc= "http://schemas.xmlsoap.org/soap/encoding/ ">
<code   xsi:type= "soapenc:string "> 010101 </code>
<context   xsi:type= "soapenc:string "> userManager </context>
<flag   href= "#id2 "   />
<id   href= "#id3 "   />
<name   xsi:type= "soapenc:string "> userManager </name>
</multiRef>
<multiRef   id= "id3 "   soapenc:root= "0 "
soapenv:encodingStyle= "http://schemas.xmlsoap.org/soap/encoding/ "
xsi:type= "soapenc:int "
xmlns:soapenc= "http://schemas.xmlsoap.org/soap/encoding/ ">
1
</multiRef>
<multiRef   id= "id2 "   soapenc:root= "0 "
soapenv:encodingStyle= "http://schemas.xmlsoap.org/soap/encoding/ "
xsi:type= "soapenc:int "
xmlns:soapenc= "http://schemas.xmlsoap.org/soap/encoding/ ">
1
</multiRef>
</soapenv:Body>
</soapenv:Envelope>
----------------------------------
delphi2005中使用XMLTransformProvider无法解析出结果 <注:字段可以出来,但结果出不来> ,所以就不能生成Dataset,请各位做过的帮助下

[解决办法]
关注

热点排行