开发者

XMLRPC Response Using ws-xmlrpc

开发者 https://www.devze.com 2022-12-28 00:25 出处:网络
Anyone have experience parsing complex response types using ws-xmlrpc? The Service returns a HashMap with one of the values an Array, when I 开发者_开发技巧request the key of the Array from the HashM

Anyone have experience parsing complex response types using ws-xmlrpc?

The Service returns a HashMap with one of the values an Array, when I 开发者_开发技巧request the key of the Array from the HashMap, Java just returns java.lang.Object.

How do I access the contents of the Array?

Any ideas?


You have to cast the default java Object to HashMap and then access it.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号