You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Daniel Kulp (JIRA)" <ji...@apache.org> on 2009/10/05 21:18:31 UTC
[jira] Resolved: (CXF-1459) ClassCastException occurs on HTTPS web
service call made by app deployed to BEA WebLogic 9.2
[ https://issues.apache.org/jira/browse/CXF-1459?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Kulp resolved CXF-1459.
------------------------------
Resolution: Fixed
Fix Version/s: 2.2.4
Assignee: Daniel Kulp (was: Benson Margulies)
I've change the reflection to go against the actual class of the connection. Thus, if it's not a sun deprecated HttpsURLConnection, but is another class that has the setSSLSocketFactory method, it should work fine.
> 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.createConnection(HttpsURLConnectionFactory.java:120)
> My weblogic-application.xml contains:
> <prefer-application-packages>
> <package-name>javax.jws.*</package-name>
> </prefer-application-packages>
> The secure web service call works in Tomcat 5.5.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.