Hello Experts,
We are using Oracle 12c 12.1.0.2.0.
We are receiving a XML response from web API and trying to make it as table but getting the below error,
ORA-06553: PLS-307: too many declarations of 'XMLTYPE' match this call
This is the query,
SELECT f.column_value AS block_content,
extractValue(value(f),'/name') AS block_name,
extractValue(value(f),'/ValueNode') AS RecordsDisplayCount
FROM TABLE( XMLSequence( EXTRACT( XMLType('<?xml version="1.0" encoding="utf-8" ?>
<rsp stat="ok">
<applicationlist>
<application>
<appId>35H3Z5JJIM</appId>
<name><![CDATA[Sample Application]]></name>
<createDate>2019-24-01T08:14:28.000+0000</createDate>
</application>
<application>
<appId>IZ2UGLWP98</appId>
<name><![CDATA[Management Application]]></name>
<createDate>2019-24-02T07:40:09.000+0000</createDate>
</application>
</applicationlist>
</rsp>',1), 'rsp/applicationlist' ) ) ) f;
Please help us to solve this issue. What is wrong in the above query and what are all ways to achieve it?
Thanks in Advance!!
Regards, Lakshmi