I am trying to get the REST Service Data Access control to work with some JDBC data. Eventually, this will all go in a Dojo Datagrid. But somehow, I can't make it work and I can't figure out what is wrong.
Here is the code I have:
<?xml version="1.0" encoding="UTF-8"?>
<xp:view xmlns:xp="http://www.ibm.com/xsp/core"
xmlns:xe="http://www.ibm.com/xsp/coreex">
<xe:restService id="restService1" pathInfo="results">
<xe:this.service>
<xe:jdbcQueryJsonService contentType="application/json"
connectionName="oracle">
<xe:this.sqlQuery><![CDATA[select postal_code, province cifadmin.postal_code_search_mv where postal_code='J6Y1R4'"]]></xe:this.sqlQuery>
</xe:jdbcQueryJsonService>
</xe:this.service>
</xe:restService>
</xp:view>
All I get is an error 500 when I access the page with the /results, and I don't have access to the log.nsf, so no clue to what is going on. Database table and columns names are valid.
Can anyone shed a bit of light on this?
As usual, thansk for your help.