Postman to send SOAP request with file attachment

I send POST request in raw tab , in XML format. File could be selected under binary , but unable to send both as a request. SOAP request in XML format and file attachment should be sent in the same request, just like in SoapUI.

1 Like

@plaidshirtakos Welcome to the community :wave:

For SOAP, all requests should be only β€œPOST”. Kindly explain in details what is your ask here :slightly_smiling_face:

So I’ve pasted SOAP envelope to raw field of Body. It needs to be POST request, because I would like to send it, but I can’t add attachment file.

In soapUI there is attachment section in which we can add file in .pdf format, the same way I want to attach a file in POSTMAN.
Where shall i add this file in postman with body as raw/xml not form-data.

you can convert your pdf file to base64. In your method there should be a parameter which name is may be bulkBytes. Put the base 64 code inside this parameter and send your request. That will be success…

How could I send large files? These are 50-100MB, so base64 encoded string would be too long.

Hello i’m interested to get a solution for this topic please.