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 BFFE8D9F9 for ; Wed, 27 Jun 2012 17:51:55 +0000 (UTC) Received: (qmail 18877 invoked by uid 500); 27 Jun 2012 17:51:54 -0000 Delivered-To: apmail-cxf-users-archive@cxf.apache.org Received: (qmail 18836 invoked by uid 500); 27 Jun 2012 17:51:54 -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 18827 invoked by uid 99); 27 Jun 2012 17:51:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Jun 2012 17:51:54 +0000 X-ASF-Spam-Status: No, hits=-2.8 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_HI,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [15.201.24.17] (HELO g4t0014.houston.hp.com) (15.201.24.17) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Jun 2012 17:51:43 +0000 Received: from G1W0400.americas.hpqcorp.net (g1w0400.americas.hpqcorp.net [16.236.31.10]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by g4t0014.houston.hp.com (Postfix) with ESMTPS id 772BA2477F for ; Wed, 27 Jun 2012 17:51:21 +0000 (UTC) Received: from G5W0324.americas.hpqcorp.net (16.228.8.69) by G1W0400.americas.hpqcorp.net (16.236.31.10) with Microsoft SMTP Server (TLS) id 8.2.176.0; Wed, 27 Jun 2012 17:50:05 +0000 Received: from G4W3200G.americas.hpqcorp.net (16.234.105.236) by G5W0324.americas.hpqcorp.net (16.228.8.69) with Microsoft SMTP Server (TLS) id 8.2.176.0; Wed, 27 Jun 2012 18:50:05 +0100 Received: from G9W0745.americas.hpqcorp.net ([169.254.3.187]) by G4W3200G.americas.hpqcorp.net ([16.234.105.236]) with mapi id 14.02.0283.003; Wed, 27 Jun 2012 17:50:04 +0000 From: "Ganesan, Chandru" To: "users@cxf.apache.org" Subject: WebClient request to HTTPS URL Thread-Topic: WebClient request to HTTPS URL Thread-Index: Ac1UjUX/5xCSsoGOTieKMj38j4DiyQ== Date: Wed, 27 Jun 2012 17:50:04 +0000 Message-ID: <10905EA2B75C8942945FE53DBB1833AA4AC7B7F4@G9W0745.americas.hpqcorp.net> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [15.201.58.19] Content-Type: multipart/alternative; boundary="_000_10905EA2B75C8942945FE53DBB1833AA4AC7B7F4G9W0745americas_" MIME-Version: 1.0 --_000_10905EA2B75C8942945FE53DBB1833AA4AC7B7F4G9W0745americas_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi I could successfully use WebClient to make plain HTTP requests to the serve= r. Now I'd like to change the request URL to HTTPS. Is there any special ha= ndling needed for this in the client code. I'm getting following error when accessing an HTTPS URL: [No Trust Decider for Conduit '{https://:443}= WebClient.http-conduit'. An afirmative Trust Decision is assumed.] [Interceptor for {https:// ://:443}WebClient = has thrown exception, unwinding now] org.apache.cxf.interceptor.Fault: Could not send Message. at org.apache.cxf.interceptor.MessageSenderInterceptor$Mess= ageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:64) at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(P= haseInterceptorChain.java:243) at org.apache.cxf.jaxrs.client.WebClient.doChainedInvocatio= n(WebClient.java:595) at org.apache.cxf.jaxrs.client.WebClient.doInvoke(WebClient= .java:576) at org.apache.cxf.jaxrs.client.WebClient.invoke(WebClient.j= ava:323) at org.apache.cxf.jaxrs.client.WebClient.get(WebClient.java= :390) Appreciate the help Thanks Chandru --_000_10905EA2B75C8942945FE53DBB1833AA4AC7B7F4G9W0745americas_--