Retrieving the Response from the Back-end

Based on the data request sent to the back-end, you need to retrieve the data as a response to the device.

The following code illustrates how to retrieve the response from the back-end to the device
public void onSuccess(ISDMRequest aRequest, ISDMResponse aResponse)  
{
 String serviceDoc = EntityUtils.toString(aResponse.getEntity()); 
}
.