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 2017/03/28 17:26:41 UTC

[jira] [Resolved] (CXF-4509) Support for NetWeaver AS's HTTPs connections

     [ https://issues.apache.org/jira/browse/CXF-4509?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Kulp resolved CXF-4509.
------------------------------
       Resolution: Won't Fix
    Fix Version/s: Invalid

Cannot really do anything if NetWeaver doesn't properly implement the java URL specs.   

That said, there are a couple other http client iplementations in CXF now using netty or the Apache HTTP Async client. 

> Support for NetWeaver AS's HTTPs connections
> --------------------------------------------
>
>                 Key: CXF-4509
>                 URL: https://issues.apache.org/jira/browse/CXF-4509
>             Project: CXF
>          Issue Type: Improvement
>    Affects Versions: 2.6.1
>            Reporter: Kirill Kadyrko
>             Fix For: Invalid
>
>
> Currently CXF doesn't work with NetWeaver (particularly NW 7.3) when dealing with external services via HTTPS. The issue is that NW uses its own connection implementations and they aren't correctly processed by HttpsURLConnectionFactory, which throws an exception, preventing an external service from being executed.
> Here's a log file snippet:
> {code}
> Caused by: java.lang.UnsupportedOperationException: Method not implemented. 
> at java.net.URLStreamHandler.openConnection(URLStreamHandler.java:80) 
> at java.net.URL.openConnection(URL.java:993) 
> at org.apache.cxf.transport.https.HttpsURLConnectionFactory.createConnection(HttpsURLConnectionFactory.java:92) 
> at org.apache.cxf.transport.http.HTTPConduit.createConnection(HTTPConduit.java:445) 
> at org.apache.cxf.transport.http.HTTPConduit.prepare(HTTPConduit.java:479) 
> at org.apache.cxf.interceptor.MessageSenderInterceptor.handleMessage(MessageSenderInterceptor.java:46) 
> at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:262) 
> at org.apache.cxf.jaxrs.client.WebClient.doChainedInvocation(WebClient.java:795)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)