My issue is that sql component is not able to return resultset when CXF component is used as primary endpoint.
Instead of using CXF endpoint if i use Timer endpoint i get result out from sql component .
I feel there is issue with
CXF->SQL
Regards,
Khaliq
Any Insight into above mentioned problem ?
Regards,
Khaliq
My suggestion is changing the code of DirectSql.java like below
package com.CXF; public class DirectSql { public Object[] getSqlData(){ MessageList msglist = new MessageList(); return new Object[]{msglist}; } }
Hi Njang,
I have already tried this workaround and which is working . But my objective was to get it via fid pallete with no java coding .
While i can get this via timer as endpoint but not as CXF as endpoint.
Regards,
Khaliq
If you want to put the list back to CXF endpoint rightly, you just need to wrap the list with object array. Since CXF endpoint will try to extract the list for the return value.