Skip to Content

How to remove xml tags while posting data in HTTP POST receiver adapter

Hi Experts,

I am currently working on a RFC to HTTP (synchronous) scenario,and have used SAP's HTTP adapter in the receiver communication channel.

We need to send request in XML format from ECC and the receiver system understands only TEXT format and no XML tags.

For the response part, it will be TEXT(from receiver) to XML format in ECC.

Also it is possible to do FCC in HTTP_AAE receiver channel so that it directly sends data to third party system in TXT format only?

If not, can anyone suggest me the alternative solution for it?

Eg: Source xml:

<?xml version="1.0" encoding="UTF-8"?>

<ns0:ZSHRSRF001_RES_DETAILS_TO_PI xmlns:ns0="urn:sap-com:document:sap:rfc:functions">

<ZBOOKER_DETAILS>

<XNAMEV>NATASHA</XNAMEV>

<XNAME1>U</XNAME1>

<GENDER_DESC>Female</GENDER_DESC>

</ZBOOKER_DETAILS>

</ns0:ZSHRSRF001_RES_DETAILS_TO_PI>

expected answer:

NATASHAUFemale (only text, no xml tags)

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Nov 17, 2015 at 04:11 PM

    You can use SOAP adapter in no-soap mode (check: do not use SOAP envelope). Then you can add the adapter module MessageTransformBean to do FCC for reqest and response.

    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.