cancel
Showing results for 
Search instead for 
Did you mean: 

Receiver HTTP Adapter - multipart/form-data file post - SP19

Former Member
0 Kudos

Hi All,

I am trying to configure receiver HTTP adapter to post an form using multipart/form-data encoding. Form includes also input type="file".

I read from this thread: that using multipart encoding was not possible. This was posted in 2006.

From Sap Help (http://help.sap.com/saphelp_nw04/helpdata/en/44/79973cc73af456e10000000a114084/content.htm) I undestood that it might be possible to enchance the HTTP payload even to include the form data.

I want to mimic posting an "file" by adjusting HTTP Body to include properly encoded data from XML payload, so the receiver http service script would understand it correctly.

Pointers for solution are appreciated!

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Using Java Proxy was the way we went also with this problem.

Former Member
0 Kudos

Hi !

We solved this by using a Java Proxy Server as receiver. Inside the java proxy server, we are receiving the input from XI, and then using our own java code to make the HTTP post with the file.

Regards,

Matias

ps: please award points if helpful.