// we need a more advanced connection wrapper.
// Creating the response
if ( batchResponseDsml != null )
{
CompareResponseDsml compareResponseDsml = new CompareResponseDsml();
LdapResult ldapResult = new LdapResult();
ldapResult.setResultCode( ResultCodeEnum.UNWILLING_TO_PERFORM );
ldapResult.setErrorMessage( "This kind of request is not yet supported." );
compareResponseDsml.setLdapResult( ldapResult );
batchResponseDsml.addResponse( compareResponseDsml );
}
}