Perchishka
8 years agoOccasional Contributor
Groovy loop for parsing - XML Content is not allowed in prolog
Hello! Could you help me please. I have a JDBC Request and response looks like: <Results>
<ResultSet fetchSize="0">
<Row rowNumber="1">
<PS_CONTENT_ONDEMAND.EXTERNAL_CODE>...
- 8 years ago
Hi Perchishka,
The error is caused by the quotes around "context.ResponseasXML" - this way it's treated as a literal string instead of an object property. Remove the quotes here.
Also replace println with SoapUI's log.info.
AlsoparsedXml.Row.each { ...
should be
parsedXml.ResultSet.Row.each { ...