You probably need to do the following:
xstream.processAnnotations(GetConfigurationParametersResponse.class);
If only the following is being called:
xstream.processAnnotations(BaseResponse.class);
Then you could use the @XStreamInclude
annotation on BaseResponse
as follows:
@XStreamInclude({GetConfigurationParametersResponse.class})
public class BaseResponse {
}