Skip to Content
0

How can a (Plain) HTTP POST Request traced (maybe by SAP PI)?

Dec 05, 2017 at 02:40 PM

39

avatar image
Former Member

Hello experts,

i am Facing the problemto connect to a HTTP Server via a syncrhonous HTTP POST Request call, cause ia am always getting the error: "errorcode=1202 | errormessage=Parameter (request) faulty or missing".

Sceanrio: sender: SAP ERP (ABAP Proxy -SOAP) over sap pi dual stack to the receiver http server. the plain http adapter is manmdatory.

where can i see the full reuest (with header and body) of the htt post request?

thanks an kind regards

Henry.

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

3 Answers

Ariel M. Bravo Ayala Dec 05, 2017 at 03:26 PM
0

Hi Henry,

Have a look into SAP Note: 856597.

In short, they recommend using a very useful tool: TCP Gateway (tcpgw.zip attached in that note). Then, you have to edit your receiver channel pointing to you own machine (on an specific port). This tool will record the whole request and response so you can analyse it.

The scenario would be:

ERP->PO->TCPGW->Receiver

Best regards,

Ariel Bravo Ayala

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

Update1: This won't work on HTTPS communications as the messages are ciphered.

0
avatar image
Former Member Dec 05, 2017 at 05:01 PM
0

Hi Ariel Bravo Ayla,

thanks for your reply.

You are right with that tool, but so far we are using https i thought there could be a way in the sap pi to see the request.

thanks and kind regards

Henry

Share
10 |10000 characters needed characters left characters exceeded
Ariel M. Bravo Ayala Dec 06, 2017 at 06:59 AM
0

Henry,

I think you can also use the xpi_inspector. It will store the request after the TLS/SSL handshake. Have you used that before?

Best,

Ariel Bravo Ayala

Share
10 |10000 characters needed characters left characters exceeded