Search code examples
javaweb-servicessoapapache-axis

soap:address location from http to https


I have a few web-services, such as:

<wsdl:port name="CalcWithPerson22HttpSoap11Endpoint" binding="ns:CalcWithPerson22Soap11Binding">  
            <soap:address location="http://localhost:8080/axis2/services/CalcWithPerson22"/>  
  </wsdl:port> 

In these I need to change the soap:address location from "http" to "https".

Where in the WSDL files do I need to make the change?


Solution

  • Add "https" here inside xml file

    <transportReceiver name="https" class="org.apache.axis2.transport.http.SimpleHTTPServer"> <parameter name="port">8443</parameter> </transportReceiver>