繁体   English   中英

使用Spring Integration编写合同优先的Web服务

[英]Writing Contract-First Web Service using Spring Integration

我需要使用Spring Integration创建一个基于SOAPWeb Service ,它将在Service Activator处理请求有效负载,然后生成并发送适当的响应。

WSDL文件与XSDs用于请求和响应消息。 因此,我需要使用WSDL创建Web服务。

是否有人可以提供有关此主题的任何示例或教程?

看起来像Spring Integration Sample上的内容可以为您提供答案。 还有参考手册中的一些信息

  1. 您需要配置Spring WS基础结构(请参阅其文档)。
  2. 将您的<int-ws:inbound-gateway>引用到org.springframework.ws.server.endpoint.mapping.UriEndpointMapping作为defaultEndpoint
  3. 并继续其他业务逻辑。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM