Hi all,
I am getting the following error while invoking the dynamic sql service:
I have tried to execute in following ways:
1- I wrote an sql statement in SQL field line as:
select * from tablename where date = ‘12/JUL/2006’
I got the required output.
2- In real time I will get the where condition to this Adapter serive.
I wrote an sql statement in following way for this:
select * from tablename ${str}
I created one Input field as str (where date = ‘12/JUL/2006’ ) and selected output fields, while executing this serivce its showing the following error:
com.wm.app.b2b.server.ServiceException: [ART.117.4002] Adapter Runtime (Adapter Service): Unable to invoke adapter service TEST.adapterService:TESTDYN.
[ADA.1.316] Cannot execute the SQL statement ““SELECT * FROM tablename WHERE date = ‘12/JUL/2006’””. "
(17003) Invalid column index"
Invalid column index
Could some body please help me.
thanks
ravi.
#Integration-Server-and-ESB#webMethods#Adapters-and-E-Standards