Skip to Content
1

Issue with Receiver REST Adapter!

Feb 08, 2017 at 05:38 PM

221

avatar image

Hi,

I have PO 7.5 installed with the SP 6.

I am calling a synchronous REST service (REST to REST interface) , it is working fine for success case.But in case of an error I get 400 HTTP error code, and there is payload in the error message case . I want to pass this error message to the sender.

I have configured Error Handling tab :

But it is giving Premature end of file error.

channel.png (19.3 kB)
prematureend.png (190.3 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

4 Answers

Sachin Dhingra Feb 10, 2017 at 03:35 AM
0

HI Ritesh,

Please check these 2 notes, where SAP has replied to use modules parameters

https://launchpad.support.sap.com/#/notes/0002223623

https://launchpad.support.sap.com/#/notes/2238546/E

Regards,

Sachin Dhingra

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Feb 14, 2017 at 10:15 AM
0

If you set "ignore error" option, adapter return empty payload.

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Feb 14, 2017 at 06:44 PM
0

try like below:

02 Source is error - channel.png

Reference:

PI REST Adapter – Custom error handling

Regards,

Nabendu.

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Nov 14, 2017 at 11:13 AM
0

Hi Ritesh,

How did u sorted the above problem can u explain in brief.i am having similar kind of requirement.

Thanks.

Share
10 |10000 characters needed characters left characters exceeded