开发者

How do you configure a truststore (jssecacerts file) in a spring-ws pox client?

开发者 https://www.devze.com 2023-03-24 00:58 出处:网络
I have a jssecacerts file i need to configure for SSL. Does spring-ws allow you to configure/point to a jssecacerts file? Here is my current configuration, note it is a POX service and not SOAP:

I have a jssecacerts file i need to configure for SSL. Does spring-ws allow you to configure/point to a jssecacerts file? Here is my current configuration, note it is a POX service and not SOAP:

<bean id="poxMessageFactory" class="org.springframework.ws.pox.dom.DomPoxMessageFactory" />

<bean id="webServiceTemplate" class="org.springframework.ws.client.core.WebServiceTemplate">
    <constructor-arg ref="poxMessageFactory"/>
    <property name="messageSender">
        <bean class="org.springframework.ws.transport.http.CommonsHttpMessageSender" />
    </property>
    <property name="defaultUri" value="https://some.com/service"/>
    <property name="marshaller" ref="jaxb2Marshaller" />
    <propert开发者_开发知识库y name="unmarshaller" ref="jaxb2Marshaller" />
</bean>
0

精彩评论

暂无评论...
验证码 换一张
取 消