sto*_*ter 10 spring soap web-services spring-ws
我正在开发一个带有spring的soap web服务客户端.
我在用 webServiceTemplate
如何指定使用哪种类型的肥皂?
我可以看到它默认使用soap 1.1.
我想强迫它使用肥皂1.2
我怎样才能做到这一点?
sto*_*ter 14
<bean id="messageFactory" class="org.springframework.ws.soap.saaj.SaajSoapMessageFactory">
<property name="soapVersion">
<util:constant static-field="org.springframework.ws.soap.SoapVersion.SOAP_12"/>
</property>
</bean>
Run Code Online (Sandbox Code Playgroud)
我刚刚发现,我需要传递消息工厂
| 归档时间: |
|
| 查看次数: |
7275 次 |
| 最近记录: |