我有一个用asp制作的网络服务。现在我正在使用Ksoap从我的Web服务获取数据,现在我得到了这个数组响应:
anyType的{架构= {anyType的元素= anyType的{的complexType = {anyType的选择= {anyType的元素= anyType的{的complexType = {anyType的序列= {anyType的元素= anyType的{};元素= anyType的{};元素= anyType的{};元素= anyType的{};元素= anyType的{};元素= anyType的{};元素= anyType的{}; }; }; }; }; }; }; }; diffgram = anyType {NewDataSet = anyType {Table = anyType {couponname = coupon name; couponimage =图像; COUPONCODE =代码; coupondescription =描述; couponstartdate =开始日期; couponenddate =结束日期; ID = 1; };表= anyType {couponname = coupon name1; couponimage =图像; COUPONCODE =代码1; coupondescription =内容描述; couponstartdate =开始日期1; couponenddate =结束日期1; ID = 2; };表= anyType {couponname = coupon name2; couponimage =图像; COUPONCODE =码2; coupondescription =内容描述; couponstartdate =开始日期2; couponenddate = end date2; ID = 3; }; }; }; }; }
我需要解析每个属性中的三个值。 任何人都可以提出建议吗?