Using WebServiceTemplate with a keystore

后端 未结 6 604
无人共我
无人共我 2021-02-03 10:56

Is it possible to configure a WebServiceTemplate with a java keystore?

edit
I\'m looking for a way to configure the location of the keystore in the

6条回答
  •  情歌与酒
    2021-02-03 11:12

    Late reply on this thread but anyway: note that once you have your keystore and everything else set up, you may be shocked to find that the WebServiceTemplate doesn't seem to support HTTPS connections!

    Make sure you set the messageSender property to be org.springframework.ws.transport.http.CommonsHttpMessageSender. The default WebServiceMessageSender implementation does not support HTTPS.

提交回复
热议问题