Martin_Ge
16 years agoNew Contributor
Getting values from old axis code with multirefs
I have to work with old Axis code which produces responses with multiRefs like this:
Is there an easy way to get at the value of "0" for "state"? Easier than writing a very complex Xpath expression or walking the DOM tree with a groovy script? There are literally dozens of multirefs for each web service method and that kind of thing would get really tedious really soon.
<state href="#id6"/>
[...]
<multiRef id="id6" soapenc:root="0" [...]>0</multiRef>
Is there an easy way to get at the value of "0" for "state"? Easier than writing a very complex Xpath expression or walking the DOM tree with a groovy script? There are literally dozens of multirefs for each web service method and that kind of thing would get really tedious really soon.