Skip to main content
Dec 12, 2018 6:34 AM UTC
Solved

sql query service. no result in return while calling in mashup

i have an sql query service which returns me an infotable. the service is working fine. when I call the service in my mashup, there is no return data (expecting the result infotable)

asekarAnswer
Dec 13, 2018 4:08 AM UTC

the problem was resolved by associating a data shape to the sql service. One important thing that I noted here is that the field definitions on the data shape should match with the database column name. I'm not sure if this is mandatory though

3 replies

Dec 12, 2018 8:40 AM UTC

@asekar Is there any error in script or application log? Make sure you have bind the service invoke call with some event to trigger as sometime it happens the required service is not getting invoked/triggered .

 

-Durgesh

asekarAuthor
Dec 12, 2018 8:45 AM UTC

there isn't any error as such. I brought the same service in mashup but I don't see anything under returned data..

 

What do you mean by invoking the service ? I call the service in mashup which will in turn query from database

asekarAuthorAnswer
Dec 13, 2018 4:08 AM UTC

the problem was resolved by associating a data shape to the sql service. One important thing that I noted here is that the field definitions on the data shape should match with the database column name. I'm not sure if this is mandatory though