SOAP over SSL

Discussions

XML & Web services: SOAP over SSL

  1. SOAP over SSL (2 messages)

    Hi All,
        I'm using WebSphere tools to develop web services, I saw a lot of information talking about SOAP over HTTP but I din't see anything about HTTPS, now my questions are :

    1) HTTPS is supported as transport protocol ?
    2) Is there information to configure https on WebSphere ?


    Thanks

    Threaded Messages (2)

  2. SOAP over SSL[ Go to top ]

    If possible, you should resolve HTTS on the web server layer (say, IIS or Apache). This way WebSphere receives simple HTTP requests.
  3. SOAP over SSL[ Go to top ]

    Hi All,
        The solution was pretty easy .

    1) Change WSDl file
      <wsdl:service name="X509CertService">
        <wsdl:port name="X509Cert" binding="intf:X509CertSoapBinding">
          <wsdlsoap:address location="https://localhost:9443/WebService......../....."/>
        </wsdl:port>
      </wsdl:service>


    2) Change the java client

    public static void main(String[] args)
    {

    Security.addProvider(new IBMJSSEProvider());

    System.setProperty("java.protocol.handler.pkgs","com.ibm.net.ssl.internal.www.protocol");


    3) By default WAS 5.0.2 use https transport, so on this side you should not modify anything .


    Bye