Skip to Content

SAP B1IF rest service, upload file

May 04, 2017 at 07:12 AM


avatar image
Former Member


I want to use HTTP call to upload file to service. I got this file by call to service i provide by B1IF. How to shape http message to upload this file?

Every way I tried server don't get file.

One of way i tried:



<payload operation="">
<bfa:io xmlns:bfa="" pltype="mup" encoding="ISO-8859-1">
<bfa:fileupload fieldname="file" filename="testFile.bmp" clientfile="testFile.bmp" contenttype="application/octet-stream" pltype="bmp">
<bfa:io pltype="bmp">
<par id="httpheader.Content-Type" value="multipart/form-data"></par>

<par id="httpheader.Accept" value="application/json"></par>

Best regards,


10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers