title: How to make JAX-WS use https (http to https) for soap:address in generated wsdl
body: <p>I am creating soap web service using jax-ws and spring. Here is my code</p>
  
  <pre><code>@WebService
  @Service
  public class SoapService {
      SoapServiceDao soapServiceDao;
      @WebMethod(exclude = true)
      public void setSoapServiceDao(SoapServiceDao soapServiceDao) {
          this.soapServiceDao = soapServiceDao;
      }
  
      @WebMethod
      @SOAPBinding(parameterStyle=ParameterStyle.BARE)
      public Message method1(SoapResponse soapResponse) {
          return new Message();
      }
  }
  </code></pre>
  
  <p>and in application-context.xml</p>
  
  <pre><code>&lt;wss:binding url="/soapservice"&gt;
      &lt;wss:service&gt;
          &lt;ws:service bean="#soapserviceImpl" /&gt;
      &lt;/wss:service&gt;
  </code></pre>
  
  <p></p>
  
  <p>In generated wsdl </p>
  
  <pre><code>    &lt;soap:address location="http://localhost:8080/soapservice"/&gt;
  </code></pre>
  
  <p>but i want <strong>https</strong> because my server accepts only https requests. </p>
  
  <p>Is it possible to change http to https in this case?</p>