cancel
Showing results for 
Search instead for 
Did you mean: 

Change SOAP Receiver header to Content-Type:zip/xml

Former Member
0 Kudos

Hi Guys,

i am using a SOAP receiver with PayloadZipBean module to attach zipped xml to a soap message i am sending.

i need to change the Content-Type header from application/octet-stream to zip/xml

how can i do this?

(i am using PI 7.3 SP10)

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Solved using combination of PayloadZipBean & MessageTransformBean (Transform.ContentType) & SOAP with no envelope (because only when using SOAP with no envelope it is possible to change Content-Type header to whatever you want via Transform.ContentType of MTB module)

former_member186851
Active Contributor
0 Kudos

Glad to hear Yossi.

Answers (1)

Answers (1)

former_member186851
Active Contributor
0 Kudos

Hello Yossi,

Try the below one

Transform.ContentType

PayloadZipBean + MessageTransformBean | SCN