cancel
Showing results for 
Search instead for 
Did you mean: 

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

former_member694142
Participant
0 Kudos

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)

Accepted Solutions (0)

Answers (1)

Answers (1)

stefan_grube
Active Contributor
0 Kudos

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.

former_member694142
Participant
0 Kudos

Hi Stefan,

Thanks for the reply!

I need to use HTTP POST with HTTP_AAE adapter.

This doesn't look feasible as per my requirement.

Can you please elaborate little more over this so that it helps me to proceed over this ASAP