-
Bug
-
Resolution: Won't Do
-
Major
-
None
-
3.2.0.GA
-
None
-
False
-
-
False
-
-
-
-
0
Reproducer and ReadME.
https://github.com/avi5kdonrh/quarkus-cxf-reproducer/tree/master
Explanation:
If I use an offline/local WSDL while creating the service:
Service service = Service
.create("/local/wsdl/service.wsdl",
serviceName);
And the WSDL <soap:address location=> has the url starting with https, I cannot overwrite it with an http URL while building the soap client.
For example, doing the following doesn't work:
BindingProvider bindingProvider = (BindingProvider) proxy; bindingProvider.getRequestContext().put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY,"http://localhost:8081/cxf/WsrmHelloServicePort");
But, if I set the ENDPOINT_ADDRESS_PROPERTY to an https URL, it works fine.
In a nutshell:
Offline WSDL --> https; Client URL: http -----> Doesn't work
Offline WSDL --> http; Client URL: https -----> Doesn't work
Offline WSDL --> https; Client URL: https -----> Works
Offline WSDL --> http; Client URL: http -----> Works
Upstream Issue: https://github.com/quarkiverse/quarkus-cxf/issues/1061