Closed
Description
Bruno Cornouiller opened SWS-53 and commented
It is now impossible to set a Content-Id to a SOAP attachment with Spring-WS.
The methods to improve are (org.springframework.ws.soap.SoapMessage) :
- Attachment addAttachment(File file) throws AttachmentException;
- Attachment addAttachment(InputStreamSource inputStreamSource, String contentType);
They will be replace (I think) by :
- Attachment addAttachment(String contentId, File file) throws AttachmentException;
- Attachment addAttachment(String contentId, InputStreamSource inputStreamSource, String contentType);
Thanks for this improvment.
Affects: 1.0 M2