Hi Rob,
Thanks for your response.
Yes Iam calling the CreateDocumentQuery and the output query obj is passed on to the DocumentQuery input record.
Herez a portion of the code
IData createDQOutput = context.invoke(“wm.tn.query”, “createDocumentQuery”, inputRecord);
IDataCursor idc=createDQOutput.getCursor();
idc.first(“query”);
query=idc.getValue();
…
…
…
public IData setInputForDocumentQuery()
throws IOException, ServiceException
{
IData out = IDataFactory.create();
IDataCursor idc = out.getCursor();
idc.insertAfter(“query”,query);
idc.insertAfter(“aggregate”, “false”);
idc.insertAfter(“disablePaging”, “true”);
idc.insertAfter(“pageSize”, null);
idc.insertAfter(“maxRowCount”, null);
idc.insertAfter(“queryTimeout”, null);
idc.insertAfter(“threshold”, null);
idc.destroy();
return out;
}
#Flow-and-Java-services#Integration-Server-and-ESB#webMethods