Forum Discussion
robertc
17 years agoOccasional Contributor
Thanks, but I now have a problem with the xpath:
This is what I get back (slightly truncated in the middle)
PD9...cz4K
I run the following script:
def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
def holder = groovyUtils.getXmlHolder("get_eligibility_document_xml#Response")
def resp = holder.getNodeValue("//s-gensym6")
log.info resp
but resp is always null.
Any thoughts?
If I replace holder.getNodeValue... with holder.getXml() I get the complete response as expected.
This is what I get back (slightly truncated in the middle)
I run the following script:
def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
def holder = groovyUtils.getXmlHolder("get_eligibility_document_xml#Response")
def resp = holder.getNodeValue("//s-gensym6")
log.info resp
but resp is always null.
Any thoughts?
If I replace holder.getNodeValue... with holder.getXml() I get the complete response as expected.