Multipart modification
search cancel

Multipart modification

book

Article ID: 74715

calendar_today

Updated On:

Products

CA API Gateway

Issue/Introduction

One of our services should insert a new part into a received multipart request and rearrange the mime.

The policy is attached and does following;

1. The policy re-arranges the mime attachment and also adds a new attachment.
    In this policy, the user is sending 4 attachments and gets 5 mime attachments.

2. The header Content-Type: the boundary value is correctly populated.
 

It involves use of the Tactical-AssembleMimeMessageAssertion. To know more about this assertion please raise a support case.

Environment

All supported versions of the CA API Gateway

Resolution

1. Create a SoapUI project and add the attachments. 
2. Change the endpoint
3. Import the policy into the gateway  - re-arrangeMultipart
4. Call the policy

Attachments

1558535947958KB_Mime.zip get_app