Based on the data request sent to the back-end, you need to retrieve the data as a response to the device.
public void onSuccess(ISDMRequest aRequest, ISDMResponse aResponse) { String serviceDoc = EntityUtils.toString(aResponse.getEntity()); }