<?xml version="1.0" encoding="utf-8"?>
<SOAP-ENV:Envelope xmlnsxsi="http//www.w3.org/2001/XMLSchema-instance" xmlnsxsd="http//www.w3.org/2001/XMLSchema" xmlnsSOAP-ENV="http//schemas.xmlsoap.org/soap/envelope/" xmlnsSOAP-ENC="http//schemas.xmlsoap.org/soap/encoding/">
<SOAP-ENV:Header>
<TransactionID xmlns="http//www.monternet.com/dsmp/schemas/">110000000001</TransactionID>
</SOAP-ENV:Header>
<SOAP-ENV:Body>
<AuthPriceReq xmlns="http//www.monternet.com/dsmp/schemas/">
<xm>2000<//xm>
<name>pp</name>
</AuthPriceReq>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
请问,我如何将这个soap封装的xml进行解析,转成模型或存入字典呢?
<SOAP-ENV:Envelope xmlnsxsi="http//www.w3.org/2001/XMLSchema-instance" xmlnsxsd="http//www.w3.org/2001/XMLSchema" xmlnsSOAP-ENV="http//schemas.xmlsoap.org/soap/envelope/" xmlnsSOAP-ENC="http//schemas.xmlsoap.org/soap/encoding/">
<SOAP-ENV:Header>
<TransactionID xmlns="http//www.monternet.com/dsmp/schemas/">110000000001</TransactionID>
</SOAP-ENV:Header>
<SOAP-ENV:Body>
<AuthPriceReq xmlns="http//www.monternet.com/dsmp/schemas/">
<xm>2000<//xm>
<name>pp</name>
</AuthPriceReq>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
请问,我如何将这个soap封装的xml进行解析,转成模型或存入字典呢?
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货