Forum Discussion
nmrao
9 years agoChampion Level 3
You need to show the sample xml
- SharadKoshal9 years agoNew Contributor
Hello,
Issue was in reading response and parsing it.
What i did?
def jdbcXMLRequest = context.expand('${JDBC Request#Request}')
def jdbcXMLResponse = context.expand('${JDBC Request#ResponseAsXml}')
def xml = new XmlHolder(jdbcXMLResponse)Read response as XML instead, then parsed it using XML Holder.
Then Did following for getting specific node value
def _XXX= xml.getNodeValue('//ResultSet/Row[1]/XXX')
log.info _XXX
This worked for me.
Thank you
Related Content
- 6 years ago
Recent Discussions
- 3 days ago