Controlling the Content-ID of an attachment

LegacyForumLegacyForum Posts: 1,669 ✭✭
edited December 2016 in SOAtest
Hi all,

My web-service requires the attachment ID to be specified as a parameter inside the SOAP envelope, for defining the different actions to be taken on each attachment.
For this I need to be able to define the content-id of a specific attachment, or get the content-ID, and use it as a parameter inside the request.

Is this possible with SOAPtest?



  • LegacyForumLegacyForum Posts: 1,669 ✭✭
    Hello Uri,

    Yes, this absolutely is possible in SOAtest.

    You can define the Content-Id of an attachment by doing the following:

    1. Go the the Attachment tab on your SOAP Client tool.
    2. Click on the Edit Headers button.
    3. Add a header with the name "Content-Id" and fill the value section with what you want to specify.

    A possible use case would be to have a Data Source with the Content-Id numbers and parameterize the element in your SOAP message and the value of the header with the column of the Content-Id numbers from the Data Source.

    Please let me know if you have any further questions.

    Best Regards,

    - Graeham
Sign In or Register to comment.