Dear isomorphic,
Can you elborate you comment in #53?
Originally posted by Isomorphic
View Post
Code:
public class ItemMasterDS extends IDACall { /** * */ private static final long serialVersionUID = -1483088157905503631L; public DSResponse handleDSRequest(DSRequest dsRequest, RPCManager rpc, RequestContext context) throws java.lang.Exception { DSResponse resp = new DSResponse(); DataSource ds = DataSource.fromXML(new FileReader("IPItemMasterDS.ds.xml")); resp = ds.execute(dsRequest); return resp; } }
Code:
dsRequest.setDataSource(ds); return super.handleDSRequest(dsRequest, rpc, context);
But then in this latter version, how do we pass "(a newly created) DSRequest to DataSource.execute() rather than calling dsRequest.execute()".
Thanks! This thread has been VERY USEFUL for me so far.
Leave a comment: