Skip to Content
author's profile photo Former Member
Former Member

Possible Adapter module for Receiver HTTP adapter?

Hello Expert,

I have a HTTP to HTTP scnario. We are not doing any message mapping as we have developed a generic solution for 6 messages to flow via one interface.

Now we are facing an issue and needs to truncate the length of one field in the target message from 12 to 8. This would have been very simple if we had mesage mapping step but this is not the case here.

The other option we though of is to write an adapter module which will read the payload and do the changes. Even this is simple adapter module but the problem is HTTP adapter does not support modules. The MODULE tab for HTTP adapter is greyed out.

Is there any way where i can change the payload of the message for HTTP to HTTP scenario without adding the message mapping step?

It is haulting a lot of test scripts hence your help will be hight appreciated.

REgards,

Yash

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on Feb 08, 2010 at 03:14 PM

    Hi,

    >>>Is there any way where i can change the payload of the message for HTTP to HTTP scenario without adding the message mapping step?

    yes this is pretty easy

    /people/william.li/blog/2009/03/19/adapter-user-module-for-http-adapter

    Regards,

    Michal Krawczyk

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Feb 09, 2010 at 07:28 AM

    Use SOAP adapter and check "No SOAP envelope". So you have a Java based HTTP adapter where you can add adapter modules.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      I have done what was required. We did both ABAP (as suggestd by Michal) and JAva using the SOAP adapter as an HTTP adapter.

      Both works perfectly fine and we went ahead with the ABAP solution to be deployed.

      thanks for the help.

      Rgds,

      Yash

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.