Hi Isomorphic!
On the server side, we're using DSRequest objects. In my junit test method, I'm creating a DSRequest object, using the constructor that passes in the datasource name and the operation type (OP_ADD or OP_UPDATE or OP_FETCH).
I'm also calling dsRequest.execute passing in a Map of values to create the object. The problem is that when it gets to the part of the real code where I have the "dsRequest.getDataSource()" statement, it throws an Exception. This only happens with the junit method, not in the real app.
Please help me on the same.
Thanks,
Manjula
On the server side, we're using DSRequest objects. In my junit test method, I'm creating a DSRequest object, using the constructor that passes in the datasource name and the operation type (OP_ADD or OP_UPDATE or OP_FETCH).
I'm also calling dsRequest.execute passing in a Map of values to create the object. The problem is that when it gets to the part of the real code where I have the "dsRequest.getDataSource()" statement, it throws an Exception. This only happens with the junit method, not in the real app.
Please help me on the same.
Thanks,
Manjula
Comment