Results 1 to 4 of 4

Thread: Content-Id in soap attachment

  1. #1

    Default 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. #2

    Default

    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

  3. #3
    Join Date
    Jul 2005
    Location
    Rotterdam, the Netherlands
    Posts
    1,562

    Default

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

    Spring Web Services Dev Lead
    Please read the FAQ

  4. #4

    Default

    This improvment has been added into JIRA.

    Bruno

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •