Spring WS web service. Adding an attachment to the response using SAAJ - No adapter for endpoint

泄露秘密 提交于 2019-12-01 21:07:28

I believe in either case your client will need to be aware of the attachment so I would recommend sticking with mtom (as it is becoming the standard)

check which version of spring-ws you are using and which maven group-id you are using. i was getting the same error because this feature was recently added (I think?).

try this entry and remove any other spring-ws imports your making

    <dependency>
        <groupId>org.springframework.ws</groupId>
        <artifactId>spring-ws-core</artifactId>
        <version>2.0.2.RELEASE</version>
    </dependency>
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!