Skip to Content
avatar image
Former Member

How to post a message request via receiver PLAIN HTTP Adapter (SAP PI 7.31)

Hi experts,

actually i am facing the problem, that i dont understand how the HTTP Plain Adapter is working in detail. And i have to create a correct http post request.

The scenario: SAP PI 7.31 dual stack


The conenction and configuration of the classic configuration (for using PLAIN HTTP Adapter plain-http-rcv-1.png )is done. The mapping is a standard mapping MT: DT1|DT2|... The connection with SSL in SM59 is provided and tested succesfully. That works fine.

When i test the interface i am getting the error:

errormessage=Parameter {request} faulty or missing
customermessage=An error occured while processing this transaction (wrong parameters).

That means, that the request/message i sent cant be interpreted by the api.

SO the question is: how do the adapter generate the post message in form of




Actually i am also not able to trace the request- not via XPI inspector and in case it is ssl- so i cant see how the complete message looks like. (like we know it from soap with soap header and body and payload part)

Question: what have i to do for that, to create the correct output post message/payload? Maybe via java mapping?

I hope you can help and support me.

thanks and kind regards


Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Mar 18, 2018 at 01:11 AM

    Hi Henry,

    You should use XSLT or Java mapping to generate post body if it is not XML. Because HTTP is comprehensive and covers many standards there is no automatic mapping from XML to key=value format you are referring to.

    I think you are getting the error from the receiver HTTP service itself. Because errorcode=1202 seems like a custom value and you state you want a request in the same format. However, if there are example request and response from a tool like Postman, please provide!

    If the error is directly from the receiver service and the structure is the same in request and response, you should use Java in the request and response mappings.



    Add comment
    10|10000 characters needed characters exceeded