External SOAP calls based on NSQL with XMLFOREST function is not working after 15.9.3
Steps to Reproduce:
Expected Results:
The portlet to display values where the competency field uses xmlforest to represent data with XML tree format using the specified column names as element names and the column values as the element values.
Actual Results:
The portlet fails with an error 500 - Internal server Error.
Release : 16.1.1
DE68805
DE68805, in review by engineering.
Workaround:
Modifying NSQL to use XML element that contains a comma-separated list of the ordered "name" values.i.e. replacing the xmlelement for competency from
'xmlelement(Competencies,xmlagg(xmlforest(lkp.name) order by lkp.name)) as competency'
to
'RTRIM (XMLAGG (XMLELEMENT (Competencies, lkp.name|| ',') order by lkp.name).EXTRACT('//text()').getclobval(),',') as competency'