I'm really new in WSO2 world and I have a DBLookup config as follow:
<resource methods="GET" uri-template="/consultadb">
<inSequence>
<log/>
<dblookup>
<connection>
<pool>
<driver>com.microsoft.sqlserver.jdbc.SQLServerDriver</driver>
<url>jdbc:sqlserver://****.CORP:1433;databaseName=*****;</url>
<user>user</user>
<password>user</password>
</pool>
</connection>
<statement>
<sql><![CDATA[SELECT NAME FROM CLIENT]]></sql>
<result column="NAME" name="getName"/>
</statement>
</dblookup>
<property name="messageType" scope="axis2" type="STRING" value="application/json"/>
<log/>
<respond/>
</inSequence>
<outSequence/>
<faultSequence/>
</resource>
But when I run, I didn't get any response in postman... what I'm doing wrong? I already setup a Respond Meditor
There is no errors and the response are 200 OK, in log the final message are:
[2021-06-25 11:39:31,542] INFO {LogMediator} - {api:salesforceinit} To: /salesforceinit/consultadb, MessageID: urn:uuid:d9ba7fc8-733e-413a-a47b-f7ebac8ae4e3, correlation_id: d9ba7fc8-733e-413a-a47b-f7ebac8ae4e3, Direction: request