Hi, I'm trying to change the HttpURLConnection that the cxf
HTTPTransportFactory uses.This is what I got that far:Cxf (version 2.7.3)
uses HTTPTransportFactory for http/https request.The HTTPTransportFactory
uses Conduit of type URLConnectionHTTPConduit.URLConnectionHTTPConduit has
method: createConnection which returns HttpURLConnection.I need to replace
HttpURLConnection with my own custom one, lets call it
CustomHttpURLConnection.In my attempts to try and solve this I managed to
change the TransportFactory that cxf uses by:1- creating class that extends
HTTPTransportFactory : CustomHTTPTransportFactory (Right now this class is
empty):public class CustomTransportFactory extends HTTPTransportFactory{}2-
Register CustomTransportFactory to the right Transport Id: in this case
"http://schemas.xmlsoap.org/soap/http"
"http://schemas.xmlsoap.org/soap/http" However in order to
achieve my purpose I need to be able to register my CustomHttpURLConnection
to the cxf transport HTTPTransportFactory.Does anyone has any idea how to
solve this problem, I've been straggling with this issue for the past week
and has no clue.Thank
--
View this message in context:
http://cxf.547215.n5.nabble.com/Change-HttpTransportFactory-cxf-2-7-3-tp5730552.html
Sent from the cxf-user mailing list archive at Nabble.com.