【问题标题】:Incoming soap message exception: No adapter for endpoint;Is your endpoint annotated with @Endpoint传入的soap消息异常:端点没有适配器;您的端点是否用@Endpoint注释
【发布时间】:2015-07-28 15:23:27
【问题描述】:

使用 spring-boot 的应用程序。对于肥皂网络服务传入消息,我在通过soapUI 使用时遇到以下错误。 端点没有适配器 [public boolean com.company...putMessage(com.company...MessageRequest)]:您的端点是用 @Endpoint 注释的,还是实现了 MessageHandler 或 PayloadEndpoint 等受支持的接口?

================

@PayloadRoot(namespace = NSURI, localPart = "MessageRequest")
@ResponsePayload
public boolean putMessage(@RequestPayload MessageRequest message) {
    return myServiceImplementaion.putMessage(message);
}

【问题讨论】:

    标签: web-services soap spring-boot apache-camel soapui


    【解决方案1】:

    你使用的是spring boot注解配置吗?如果是这样,请尝试将其添加到您的配置文件中,

    @Bean
        public EndpointAdapter payloadEndpointAdapter() {
            return new PayloadEndpointAdapter();
        }
    

    【讨论】:

      猜你喜欢
      • 2013-01-01
      • 2017-11-24
      • 1970-01-01
      • 2018-09-22
      • 1970-01-01
      • 1970-01-01
      • 2013-06-08
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多