Skip to Content
1

SAP HCI - MultiPart Form (Sending an file)

Mar 07, 2017 at 12:58 PM

107

avatar image

Hi Experts,

Anyone could answer me about the usage of HCI for Multipart form in HTTP Adapter, I checked that it is possible in SAP PI using HTTP_AEE Adapter (https://blogs.sap.com/2014/09/12/html-form-upload-using-http-plain-adapter-with-java-mapping/), but in HCI, I didn't find any topic about it, so How could I use a Multipart Form in SAP HCI with HTTP Adapter?

Thanks

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

1 Answer

Morten Wittrock Mar 08, 2017 at 10:45 AM
1

Hi Bruno

As far as I know, there is no built-in support for this scenario. You can parse the multipart/form-data format, though, or ideally find an existing library that does it for you. One such library is Apache Commons FileUpload, but it might take some wrangling to get it to work (at first glance it seems to assume servlets).

When you find a solution, it will make a great blog :-)

Regards,

Morten

Show 1 Share
10 |10000 characters needed characters left characters exceeded

Thank you by your Help Morten

As soon as I figure out how to do it, I'll do a blog in SCN.

Regards,

Bruno

0