Return-Path: X-Original-To: apmail-cxf-users-archive@www.apache.org Delivered-To: apmail-cxf-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DAAAE104EB for ; Thu, 25 Jul 2013 05:27:31 +0000 (UTC) Received: (qmail 91134 invoked by uid 500); 25 Jul 2013 05:27:30 -0000 Delivered-To: apmail-cxf-users-archive@cxf.apache.org Received: (qmail 91056 invoked by uid 500); 25 Jul 2013 05:27:23 -0000 Mailing-List: contact users-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@cxf.apache.org Delivered-To: mailing list users@cxf.apache.org Received: (qmail 91045 invoked by uid 99); 25 Jul 2013 05:27:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Jul 2013 05:27:21 +0000 X-ASF-Spam-Status: No, hits=2.3 required=5.0 tests=FORGED_YAHOO_RCVD,URI_HEX X-Spam-Check-By: apache.org Received-SPF: error (athena.apache.org: local policy) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Jul 2013 05:27:17 +0000 Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1V2E4S-0001QF-NR for users@cxf.apache.org; Wed, 24 Jul 2013 22:26:36 -0700 Date: Wed, 24 Jul 2013 22:26:36 -0700 (PDT) From: mayankeagle To: users@cxf.apache.org Message-ID: <1374729996720-5731408.post@n5.nabble.com> In-Reply-To: <51EE5C1B.2060009@gmail.com> References: <1374568794747-5731305.post@n5.nabble.com> <51EE4914.7070507@gmail.com> <1374574404781-5731314.post@n5.nabble.com> <51EE5C1B.2060009@gmail.com> Subject: Re: OAuth 1.0 with CXF 2.7.5 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi Sergey, If I understand, this has to be set as an HTTP header from the background service (which is the client for the OAuth protected REST web-service). I'm using HttpURLConnection so I'll add it as a request-property ("Accept", "application/xml"). -- View this message in context: http://cxf.547215.n5.nabble.com/OAuth-1-0-with-CXF-2-7-5-tp5731305p5731408.html Sent from the cxf-user mailing list archive at Nabble.com.