Skip to content

Missing contentId for methods 'addAttachment' in SoapMessage [SWS-53] #212

Closed
@gregturn

Description

@gregturn

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions