Skip to Content
avatar image
Former Member

REST Receiver channel error : Serialization error

Hi ,

I am getting - Serialization error ( HTTP 400) in Rest Receiver channel

MP: exception caught with cause com.sap.aii.adapter.rest.ejb.common.exception.HttpCallException: HTTP PUT call is not successful. SerializationError.

Scenario is file to Rest ( XML to JSON conversion) to use PUT call to REST API.

any suggestion

Ravi

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Sep 26, 2017 at 10:44 AM

    what happens when you try from outside pi, ie. using rest client with the same payload? is it successful?

    check with rest team if they have any idea on this by sharing your input to them.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 26, 2017 at 05:58 PM
    Hello Ravi,
    I'd suggest you to trace the outgoing payload using one of the following methods:
    1. In message monitor, checking the last message stage (e.g. AM or VO).
    2. Using HTTP provider traces in XPI Inspector.
    3. Checking ICM traces with trace level 3.
    4. Sniffing the outgoing traffic on network adapter with tcpdump or Wireshark.

    Then ensure that json payload being sent by PI is correct. Alternatively you can test it with any 3rd-party REST client (e.g. SOAP UI or POSTMAN). If you will get the same error when sending with alternative client, then the problem is with payload. Otherwise - check the message flow within PI.

    Best regards,
    Vadym

    Add comment
    10|10000 characters needed characters exceeded