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