A
A
Alexander Korobov2016-09-19 10:27:00
SOAP
Alexander Korobov, 2016-09-19 10:27:00

Apache cxf web service over https. How?

How to use https as transport for SOAP web service? It is possible in conjunction with TOMCAT.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander Korobov, 2016-09-19
@superbadlam

here
and here
and here again
And my solution.

<beans xmlns="http://www.springframework.org/schema/beans"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
  xmlns:httpj="http://cxf.apache.org/transports/http-jetty/configuration"
  xmlns:sec="http://cxf.apache.org/configuration/security"

  xsi:schemaLocation="
    http://www.springframework.org/schema/beans 
    http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
      http://cxf.apache.org/transports/http-jetty/configuration
        http://cxf.apache.org/schemas/configuration/http-jetty.xsd
        http://cxf.apache.org/configuration/security
        http://cxf.apache.org/schemas/configuration/security.xsd
  ">
 
  <httpj:engine-factory bus="cxf">
    <httpj:engine port="9003">
      <httpj:tlsServerParameters>
        <sec:keyManagers keyPassword="qwerty">
      <sec:keyStore type="JKS" password="qwerty" file="certs/proba.jks" />
        </sec:keyManagers>
      </httpj:tlsServerParameters>
    </httpj:engine>
  </httpj:engine-factory>
</beans>

E
Eugene, 2016-09-19
@zolt85

Something like this

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question