Cannot load WSDL from HTTPS URL if HTTPConduit configuration has AutoRedirect
set to true
-----------------------------------------------------------------------------------------
Key: CXF-2660
URL: https://issues.apache.org/jira/browse/CXF-2660
Project: CXF
Issue Type: Bug
Components: Transports
Affects Versions: 2.3
Reporter: David Valeri
When loading a WSDL over HTTPS, if the HTTPConduit configuration has
AutoRedirect enabled, HTTPConduit#prepare sets cacheReq to true, but
HTTPConduit$WrappedOutputStream#handleHeadersTrustCaching returns before
setting cachedStream for GET requests so HTTPConduit$WrappedOutputStream#close
throws an NPE as cachedStream is null and is not expected to be.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.