Christian Schneider created CXF-5883:
----------------------------------------
Summary: Support rewriting of wsdl for https load balancer which
talks to http endpoint
Key: CXF-5883
URL: https://issues.apache.org/jira/browse/CXF-5883
Project: CXF
Issue Type: New Feature
Components: Transports
Affects Versions: 2.7.12, 3.0.1
Reporter: Christian Schneider
Assignee: Christian Schneider
Fix For: 3.0.2
We have the following scenario.
Client -> Load blancer (https) -> CXF Endpoint (http)
If the client requests the ?wsdl of the endpoint it should consistently be
using the uri of the load balancer.
This already works for hostname and port which are correctly replaced but does
not work for the protocol which still remains at http.
The load balancer can send the X-Forwarded-Proto header with https. This tells
the cxf endpoint the protocol of the load balancer.
CXF should now evaluate the header and support the rewriting of urls in the
wsdl from http to https.
--
This message was sent by Atlassian JIRA
(v6.2#6252)