Return-Path: X-Original-To: apmail-directory-api-archive@minotaur.apache.org Delivered-To: apmail-directory-api-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D457197E6 for ; Thu, 14 Jun 2012 12:04:43 +0000 (UTC) Received: (qmail 13793 invoked by uid 500); 14 Jun 2012 12:04:43 -0000 Delivered-To: apmail-directory-api-archive@directory.apache.org Received: (qmail 13631 invoked by uid 500); 14 Jun 2012 12:04:39 -0000 Mailing-List: contact api-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: api@directory.apache.org Delivered-To: mailing list api@directory.apache.org Delivered-To: moderator for api@directory.apache.org Received: (qmail 9243 invoked by uid 99); 14 Jun 2012 12:03:19 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of raphael.ouazana@linagora.com designates 109.197.183.74 as permitted sender) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Thu, 14 Jun 2012 14:02:48 +0200 From: =?UTF-8?Q?Rapha=C3=ABl_Ouazana-Sustowski?= To: Subject: Parsing response control Message-ID: <5f0cfd7923ab9f90724050867a2f8755@linagora.com> X-Sender: raphael.ouazana@linagora.com User-Agent: Roundcube Webmail/0.5.1 Hi, I'm using ApacheDS API to implement a SyncRepl client. When I receive a Response, I get a BasicControlDecorator which decorates an OpaqueControl, instead of a SyncStateValueControl. Reading code, it seems I should load ExtrasBundleActivator, but I don't know how I can do that. Else I tried: System.setProperty( StandaloneLdapApiService.DEFAULT_CONTROLS_LIST, "org.apache.directory.shared.ldap.extras.controls.syncrepl_impl.SyncStateValueFactory" ); Which has been indicated here: http://mail-archives.apache.org/mod_mbox/directory-api/201106.mbox/%3CBANLkTikTTQLfM4eFxtATnzh%2BYFPPXoNQUA%40mail.gmail.com%3E But this does not seem to work. How can I get a correctly parsed response control? Regards, Raphaƫl Ouazana.