Skip to Content
avatar image
Former Member

Content type in SOAP receiver communication channel

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?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Jul 15, 2009 at 09:40 AM

    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

    Add comment
    10|10000 characters needed characters exceeded