Skip to Content

issue with custom module after default RESTAdapterBean

Hi Experts,

I want to use my custom module after default RESTAdapterBean so that I can utilize the property of the receiver rest adapter but the message is coming as empty if I use custom adapter module after default one.

capture.png

Please let me know if anyone has found a similar issue.

Note - It is working if I use the custom module on first but then I am not able to use adapter properties.

Warm Regards, Rudra

capture.png (16.4 kB)
Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on Jul 16, 2020 at 08:56 AM

    Depends on whether this is async or sync. If sync it depends if you want to process request or sesponse.

    Assume async request it has to go before the adapter module.

    See also https://help.sap.com/saphelp_nwpi711/helpdata/en/45/da2239feb22e98e10000000a155369/frameset.htm

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Jens,

      I have to Sign the JSON request using JSON Web Signature(JWS). I want to use rest adapter properties which convert XML to JSON and have multiple options so it will become easy to sign.

      But If I am trying to use before default Rest adapter bean, I am getting XML as input and then I had to add additional the logic for XML to JSON.

      Warm Regards,

      Rudra

  • Posted on Jul 17, 2020 at 11:30 AM

    What property of the adapter are you looking for? The default bean sends the message and therefore is the end of the processing in a async receiver adapter, so you can't do anything with a module added after the default one.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.