cancel
Showing results for 
Search instead for 
Did you mean: 

Support of Multipart form data with Plain HTTP (Sender) adapter

Former Member
0 Kudos

Hi All,

We are trying to send (HTTP POST) a mulitipart form data to Plain HTTP adapter from an external system. But getting "Multipart-documents not supported" error response from PI. According below SAP help it appears like multiform is supported with HTTP Plain.

http://help.sap.com/saphelp_nwpi711/helpdata/en/44/8f54b8b01e3673e10000000a114a6b/content.htm

Is there any special setting within HTTP Service (t-code SICF) we need to enable in PI to activate multipart feature in HTTP Plain adapter?

Or PI's HTTP Plain adapter (Sender) does not support multiprt form data at all? Please clarify

Thank you!

POST /sap/xi/adapter_plain?interface=xxxxxxxxxxxxxxxxxxxx&qos=EO HTTP/1.1

> User-Agent: curl/7.15.5 (x86_64-redhat-linux-gnu) libcurl/7.15.5 OpenSSL/0.9.8b zlib/1.2.3 libidn/0.6.5

> Host: xxx-yyy.zz.com:50000

> Accept: /

> Content-Type:multipart/form-data

> Content-Length: 1579598

> Expect: 100-continue

>

< HTTP/1.1 100 Continue

< Server: SAP NetWeaver Application Server 7.11 / ICM 7.11

HTTP/1.1 415 Unsupported Media Type

< content-type: text/html; charset=utf-8

< content-length: 33

< server: SAP NetWeaver Application Server / ABAP 711

Connection #0 to host xxx-yyy.zz.com left intact

  • Closing connection #0

Multipart-documents not supported$

Accepted Solutions (0)

Answers (1)

Answers (1)

stefan_grube
Active Contributor
0 Kudos

> According below SAP help it appears like multiform is supported with HTTP Plain.

> http://help.sap.com/saphelp_nwpi711/helpdata/en/44/8f54b8b01e3673e10000000a114a6b/content.htm

"Multipart documents and HTTP requests with an empty HTTP body are not accepted and receive a response with status code 500 or 204."