cancel
Showing results for 
Search instead for 
Did you mean: 

ContentType Issue.

Former Member
0 Kudos

HI,

I want to convert the contentType from application/xml to text/xml before sending the message to the third party system.

The payload in MONI as application/xml by default. I am using the SOAP Receiver channel and the TP requires in text/xml.

Can you please let me know how this can be achieved?

Thanks in advance.

Regards

Sarkar

Accepted Solutions (0)

Answers (3)

Answers (3)

stefan_grube
Active Contributor
0 Kudos

The SOAP reveiver adapter sets the content type to text/xml.

You need not do anything special.

Former Member
0 Kudos

Hi sankar,

as per my knowledge that is possiable with standard bean that is

"MessageTransformBean" and we can use this module in the soap receiver channel and that is used to conversion of XML structure to flat structure and vice versa.

go through below link:

thanks,

baskar_gopalakrishnan2
Active Contributor
0 Kudos

Use MessageTransformBean module in the soap receiver channel and set contentType text/xml over there.

Example:
Parameter Name: Transform.ContentType
Parameter Value: text/xml;charset=utf-8

Refer receiver communication channel in this[link|http://help.sap.com/saphelp_nw04/helpdata/en/24/4cad3baabd4737bab64d0201bc0c6c/content.htm]