Return-Path: Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: (qmail 41248 invoked from network); 17 Oct 2009 00:53:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 17 Oct 2009 00:53:54 -0000 Received: (qmail 78728 invoked by uid 500); 17 Oct 2009 00:53:54 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 78703 invoked by uid 500); 17 Oct 2009 00:53:54 -0000 Mailing-List: contact issues-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list issues@cxf.apache.org Received: (qmail 78693 invoked by uid 99); 17 Oct 2009 00:53:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 17 Oct 2009 00:53:54 +0000 X-ASF-Spam-Status: No, hits=-10.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 17 Oct 2009 00:53:52 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id B9147234C1EF for ; Fri, 16 Oct 2009 17:53:31 -0700 (PDT) Message-ID: <803900436.1255740811756.JavaMail.jira@brutus> Date: Fri, 16 Oct 2009 17:53:31 -0700 (PDT) From: =?utf-8?Q?Eric_Vel=C3=A1zquez_=28JIRA=29?= To: issues@cxf.apache.org Subject: [jira] Commented: (CXF-1459) ClassCastException occurs on HTTPS web service call made by app deployed to BEA WebLogic 9.2 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CXF-1459?page=3Dcom.atlassian.j= ira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D127668= 04#action_12766804 ]=20 Eric Vel=C3=A1zquez commented on CXF-1459: ------------------------------------- Don't know if its a too simplistic idea but what happen if you use a Socket= Factory class as a parameter type? so instead of: connection.getClass().getMethod("setSSLSocketFactory", = SSLSocketFactory.class);=20 use this: connection.getClass().getMethod("setSSLSocketFactory", = SocketFactory.class);=20 Despite weblogic.security.SSL.SSLSocketFactory class doe not directly ext= ends from SSLSocketFactory indeed implements the expected SSLSocketFactory = methods: createSocket(Socket s, String host, int port, boolean autoClose); getDefaultCipherSuites() getSupportedCipherSuites()=20 And given SocketFactory is the parent of SSLSocketFactory should be secure = to use with any other implementation. Would it be possible? If not, i vote for the 1st option. > ClassCastException occurs on HTTPS web service call made by app deployed = to BEA WebLogic 9.2 > -------------------------------------------------------------------------= ------------------- > > Key: CXF-1459 > URL: https://issues.apache.org/jira/browse/CXF-1459 > Project: CXF > Issue Type: Improvement > Components: Integration > Affects Versions: 2.0.4 > Reporter: Tom Schroedl > Assignee: Daniel Kulp > Fix For: 2.2.4 > > Attachments: HttpsURLConnectionFactory.patch > > > HTTPS web service call fails from webapp deployed in ear file to BEA 9.2 = with following error: > java.lang.ClassCastException: weblogic.net.http.SOAPHttpsURLConnection > at org.apache.cxf.transport.https.HttpsURLConnectionFactory.createConn= ection(HttpsURLConnectionFactory.java:120) > My weblogic-application.xml contains: > > javax.jws.* > > The secure web service call works in Tomcat 5.5. --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.