Hi,
I want to set "Content-Id" to an attachment when using Spring WS API (and SAAJ). But, there is no method to set "id" in method "addAttachment".
How to do it ?
Thanks.Code:import org.springframework.ws.soap.SoapMessage; ... SoapMessage msgResponse = ...; .... Attachment attachment = msgResponse.addAttachment(dataSource, "text/xml");


Reply With Quote