Skip to Content
avatar image
Former Member

Content-Type In Proxy Payload

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.


ctype2.JPG (42.7 kB)
ctype1.JPG (41.4 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    Nov 06, 2013 at 04:42 PM

    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

    Add comment
    10|10000 characters needed characters exceeded