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

后端 未结 1 1044
南旧
南旧 2021-01-21 04:29

I am really struggling getting Spring-WS to return a response with attachments. I have managed to get an MTOM version to work but this has some pre-requisites on the client as i

相关标签:
1条回答
  • 2021-01-21 05:10

    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>
    
    0 讨论(0)
提交回复
热议问题