Forum Discussion

Andy12's avatar
Andy12
New Contributor
8 years ago

How to read a response for automation

My response looks as below. I need to read all wsScenarioId (about 100 of them ) and pass those to request of another service

 

<cdrScenarioList xmlns="">
<cdrScenario>
..
<ns3:wsScenarioId xmlns:ns3="http://service.abc.com/entity/wmg/plan/2014/">35718</ns3:wsScenarioId>
..
</cdrScenario>
<cdrScenario>
..
<ns17:wsScenarioId xmlns:ns3="http://service.abc.com/entity/wmg/plan/2014/">35719</ns3:wsScenarioId>
..
</cdrScenario>
<cdrScenario>
..
<ns34:wsScenarioId xmlns:ns3="http://service.abc.com/entity/wmg/plan/2014/">35720</ns3:wsScenarioId>
..
</cdrScenario>
</cdrScenarioList>

2 Replies