cancel
Showing results for 
Search instead for 
Did you mean: 

Content type in SOAP receiver communication channel

Former Member
0 Kudos

Hello,

so far I thought that the SOAP receiver adapter always sets the content type to text/xml. However now I found out the following strange thing:

If you check the option "without SOAP envelope" then the content type is application/xml. Is there any way to influence this as the receiver of the message only accepts text/xml.

Have you had any similar experience?

Accepted Solutions (0)

Answers (1)

Answers (1)

MichalKrawczyk
Active Contributor
0 Kudos

hi,

- open SOAP receiver communication channel - module tab

- add the module "localejbs/AF_Modules/MessageTransformBean" or AF_Modules/MessageTransformBean" before the standard SOAP module

- add the parameter = Transform.ContentType with value = text/xml

I'm just not sure if you need to add value = text/xml or "text/xml" so try the second one if the first one will not work

does it work now?

Regards,

Michal Krawczyk

Former Member
0 Kudos

Hello,

thank you for your answer. We will try this and post the results here.