Forum Discussion

kkishore's avatar
kkishore
New Contributor III
5 years ago

Rest post zip file issue

Hi Team,

we are posting a zip file to the target location with restpost snap(invoking the webservice provided by target team), but below information is adding to the file and the zip file not able to open by the team.

Target team receiving the data like below adding extra content at header level:

-NpPpHQYDtTHWk9esbHreg29WnKx_bCYn
Content-Disposition: form-data; name=“file”; filename=“data.zip”
Content-Type: application/octet-stream; charset=UTF-8
Content-Transfer-Encoding: binary

actual data(zip format)

-NpPpHQYDtTHWk9esbHreg29WnKx_bCYn

how to avoid this extra content added to original zip file.

Please find the error here while target team trying to open the zip file stored in Blob field of Database.

5 Replies

  • nunnikrishnan's avatar
    nunnikrishnan
    New Contributor

    I am doing a POC on SOAP execute to understand how it works. In future we will be integrating a ERP system which have SOAP webservice.
    But while calling salesforce login soap call , it is throwing error
    Verify that the template is correct, the substituted values are valid and the provided envelope matches the namespaces that are required by the targeted service

    But when i try the same envelope in SOAP UI it is giving me the session ID, which I can use in the data updation soap call.

    Please help me how to proceed

      • sanchita_ghuge's avatar
        sanchita_ghuge
        New Contributor

        Hi Nunnikrishnan,

        Was this error solved? If yes, what was the ideal solution?

        Thanks,
        Sanchita