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
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>