【发布时间】:2017-03-08 03:51:34
【问题描述】:
我是 Spring 集成和学习过程中的新手。 我将不得不进行两次 SOAP 调用。 第一次 SOAP 调用 ---> 使用第一次调用响应作为第二次 SOAP 请求。 并以编程方式从数据库中获取 url 和其他请求参数。
我可以使用此配置成功拨打电话
<int-ws:outbound-gateway id="Service" request-channel="requestChannel" reply-channel="responseChannel" uri="http://localhost:8080/core/v1" marshaller="marshaller" unmarshaller="marshaller"/>
我没有使用任何激活器或拦截器。只是使用了xml和网关接口。我已经硬编码了请求值。 有人可以帮助我如何从数据库中获取值并以更好的方式构建它。
【问题讨论】:
标签: java spring web-services soap spring-integration