我已经使用 spring-ws 部署了一个服务并使用它访问它
<bean id="messageFactory" class="org.springframework.ws.soap.saaj.SaajSoapMessageFactory"/>
<bean id="webServiceTemplate" class="org.springframework.ws.client.core.WebServiceTemplate">
<constructor-arg ref="messageFactory"/>
<property name="defaultUri" value="http://localhost:6060/SpringMVC/ws"/>
</bean>
<bean id="webServiceClient" class="client.EchoTestClient">
<property name="defaultUri" value="http://localhost:6060/SpringMVC/ws/"/>
</bean>
我们可以使用任何 JAX-RPC 客户端处理方法(静态存根、动态代理或动态调用接口)来访问这些 Web 服务吗?如果是,那怎么办?我的理解是 Spring-WS 实现与 JAX-RPC 和 JAX-WS 实现完全不同,我们无法使用 JAX-RPC 访问它们。请建议。
谢谢