I'm calling a soap webservice from my java application.
I get response and I want to parse it and get data.
The problem is that field <tranData>
, contains structure with ><
instead of <>
. How can I parse this document to get data from field <tranData>
?
This is response structure:
<response>
<Portfolio>
<ID>1</ID>
<holder>2</holder>
</Portfolio>
<tranData> <responseOne><header><code>1</code></header></responseOne></tranData>
Please remember that, this is only a example of response, and the amount of data will be much bigger, so the solution should be fast.