Announcement Announcement Module
Collapse
No announcement yet.
Content-Id in soap attachment Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Content-Id in soap attachment

    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 ?

    Code:
    import org.springframework.ws.soap.SoapMessage;
    ...
    SoapMessage msgResponse = ...;
    ....
    Attachment attachment = msgResponse.addAttachment(dataSource, "text/xml");
    Thanks.

  • #2
    Any response ?

    If I use directly the SOAP api, no problem, but with Spring-WS, how to do it ?
    Is it a missing functionallity in Spring WS api, or there is another mean to set Content-Id to an attachment with Spring WS api ?

    Bruno

    Comment


    • #3
      Indeed, there is no way to set the content id. Could you please create an JIRA here? I will fix it asap.

      Comment


      • #4
        This improvment has been added into JIRA.

        Bruno

        Comment

        Working...
        X