Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Not A Problem
-
3.2.4, 3.2.6
-
None
-
None
-
Windows/Windows server. CXF 3.2.4. Java 1.8.
-
Unknown
Description
I have a set of WSDLs that I cannot change. They do not have the correct endpoint address for the server but that is easily changed by using provider.getRequestContext.put(ENDPOINT_ADDRESS_PROPERTY...
This works fine as long as the server is not using a self signed certificate. But when I add the code to trust the certificate and also change the endpoint address, the TLSClientParameters are ignored because the conduit is reconfigured and replaced with a new conduit without the parameters. If I run once in a try block and then update the conduit with the TLSClientParameters and run a second time, this works.
I've included a test case to show the problem.