title: Running a JAX-WS service with SSL security on WebLogic
body: <p>I am migrating a application that curently runs on a Tomcat Sever to WebLogic cluster and I have found a very specific problem. </p>
  
  <p>This application has a WebService that can, if so is the client will, run with SSL. We accomplish that on Tomcat by configuring the proper valve and redirecting all <strong>HTTP</strong> requests to <strong>HTTPS</strong>. This way, our <strong>WSDL</strong> will have the correct port address to be accessed through HTTPS as follows:</p>
  
  <pre><code>&lt;port name="WebServidorWSPort" binding="tns:WebServidorWSPortBinding"&gt;
      &lt;soap:address location="https://tomcat:8443/WebServidor/WebServidorWS"/&gt;
  &lt;/port&gt;
  </code></pre>
  
  <p>I have done a similar configuration on our WebLogic cluster, and I am able to access the <strong>WSLD</strong> through HTTPS, but the port declaration still is nor right as in the snipped <strong>WSLD</strong> below:</p>
  
  <pre><code> &lt;port name="WebServidorWSPort" binding="tns:WebServidorWSPortBinding"&gt;
       &lt;soap:address location="http://weblogic:8000/WebServidor/WebServidorWS"/&gt;
   &lt;/port&gt;
  </code></pre>
  
  <p>It is kind of using the HTTP front-end configuration, even with the HTTPS frontend configured. And when accessing this URL I get a HTTP 302 to the HTTPS address, rising an error on the client application. </p>
  
  <p>How should I configure the server or the application to correct generate the port with the HTTPS address?</p>