cancel
Showing results for 
Search instead for 
Did you mean: 

Content-Type In Proxy Payload

Former Member
0 Kudos

Hi,

When our Development PI system receives a payload from a new ABAP Proxy the Inbound Soap Body manifest is defined as:

Note the blank SAP:Descripton. Subsequently the 'ContentType' is defined as "application/xml".

When I develop a web service route into the same interface and access using SoapUI the manifest is different:

In this case there is a value in SAP:Description and the 'ContentType' gets defined as "text/xml;charset=utf-8".

Problem is when PI then passes this data back out again into a third party web service it doesn't seem to like the proxy generated payload. I think this is because the Content-Type remains defined as "application/XML".

My question is this: Is it possible to configure the ABAP Proxy to generate a payload which has a 'ContentType' of "text/xml;charset=utf-8" ?

Cheers,

PaulC.


Accepted Solutions (1)

Accepted Solutions (1)

former_member192892
Active Contributor
0 Kudos

Hi Paul,

In your receiver Soap Channel use the MessageTransformBean. It should pass through fine.

Module name: AF_Modules/MessageTransformBean

Parameter: Transform.ContentType

Value: text/xml;charset=utf-8

Former Member
0 Kudos

Thanks Varun. That's exactly what I was looking for.

Cheers!

Answers (0)