开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜