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 E28D31049E for ; Sun, 16 Mar 2014 05:54:50 +0000 (UTC) Received: (qmail 73358 invoked by uid 500); 16 Mar 2014 05:54:50 -0000 Delivered-To: apmail-directory-api-archive@directory.apache.org Received: (qmail 73008 invoked by uid 500); 16 Mar 2014 05:54:47 -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 Received: (qmail 72986 invoked by uid 99); 16 Mar 2014 05:54:40 -0000 Received: from minotaur.apache.org (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 16 Mar 2014 05:54:40 +0000 Received: from localhost (HELO mail-we0-f175.google.com) (127.0.0.1) (smtp-auth username kayyagari, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Sun, 16 Mar 2014 05:54:40 +0000 Received: by mail-we0-f175.google.com with SMTP id q58so3426873wes.20 for ; Sat, 15 Mar 2014 22:54:38 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=89jgOGk0rbcogiVzTVc1ktI216BVzHfQrZ0Vgrt/L/Q=; b=LRE0g4VCp5sbuWkXEIrCTngFYo8SjgUuRR0jJZ7n4AByenPIOydcmqqTKOPTih2Bac AXK1TYwmoeUiGtt0cJoHnVgKpxOSQUR4gGBS0hg97KxLILC61hRDyX8cv42o9APtF+kt TgHxqGHZoIAyBmeNUnyFLJXba7yKYUF4psielK3ajP1u+87gsWSiKhZNUe3/ScARN/Iw fIrbgGUZboknSc69Upkvejm2I9A3/34Lv6KoaMcE+c2FucxiTUoGQJE3Sx7HLH7nvzd8 PNXMSrXcsM4KLC89GRjbJwHjrsS66gBpiPk4HIvbGfquAxlQDh/RXycz5ldqNY1NegAu hkvQ== MIME-Version: 1.0 X-Received: by 10.180.102.97 with SMTP id fn1mr4530836wib.15.1394949278725; Sat, 15 Mar 2014 22:54:38 -0700 (PDT) Received: by 10.216.219.137 with HTTP; Sat, 15 Mar 2014 22:54:38 -0700 (PDT) In-Reply-To: References: Date: Sun, 16 Mar 2014 11:24:38 +0530 Message-ID: Subject: Re: Response as XML From: Kiran Ayyagari To: api@directory.apache.org Content-Type: multipart/alternative; boundary=f46d0444ef1d3cfe7504f4b2f0ed --f46d0444ef1d3cfe7504f4b2f0ed Content-Type: text/plain; charset=ISO-8859-1 pass the Entry object to SearchResultEntryDsml instance and call toDsml() method on it On Sun, Mar 16, 2014 at 11:01 AM, Syed Ali Raza < aliraza.programmer@gmail.com> wrote: > How can I get response in XML format? > Basically want to convert > > org > > .apache > > .directory > > .api > > .ldap > > .model > > .entry > .Entry > to XML. > -- Kiran Ayyagari http://keydap.com --f46d0444ef1d3cfe7504f4b2f0ed--