Hi I use jaxws to generate wsdl in my java project.I use java 11 and jaxws-maven-plugin to import mywsdl Myproblem in my wsdl there is a http://myservice block.And I want to use https://myservice as url. I generate and import wsdl.And this always try to reach http address not https.How can I force my webclient to consume http address.
/**
* This class was generated by the JAX-WS RI.
* JAX-WS RI 2.3.2
* Generated source version: 2.2
*
*/
@WebServiceClient(name =
MyResponse response=reply.getMyService().MyRequest(request);
<groupId>org.codehaus.mojo</groupId>
<artifactId>jaxws-maven-plugin</artifactId>
<version>2.6</version>
BindingProvider is the solution.