madhurika
madhurika

Reputation: 191

How to expose Stored Procedure in Teiid OData

I have created a virtual procedure in JBoss Teiid ,i want to call it using odata protocol. I have tried to call it by .....url/odata/PROCEDURE NAME

It is not working .

Can anyone please tell me the corect syntax to call stored procedure in odata.

Upvotes: 2

Views: 1090

Answers (2)

VirtualDataBase
VirtualDataBase

Reputation: 21

I believe this will work:

http://127.0.0.1:8080/odata/<vdbname>/FunctionImportName?Parameter1Name='Parameter1Value'&Parameter2Name='Parameter2Value'

Upvotes: 2

Maya
Maya

Reputation: 836

Try locahost:8080/odata/vdbname/FunctionInportName(Parameter1Name=Parameter1Value, Parameter2Name=Parameter2Value)

Upvotes: 0

Related Questions