cancel
Showing results for 
Search instead for 
Did you mean: 

Reason Of Error java.io.IOException: invalid content type for SOAP: TEXT/HT

Former Member
0 Kudos

Hi All,

I am getting an error, when I am sending message from few BPM's to a common Webservice Synchronously.

Delivery of the message to the application using connection AFW failed, due to: java.io.IOException: invalid content type for SOAP: TEXT/HTML. Setting message to status failed.

Previously, it was working fine. But today I am getting the errors. Could any one please explain, what exactly the reason is. I searched the Forum, but didnt find a proper resolution. We are sending the same set of data to the Webservice, which we were sending before. Please suggest.

Regards,

Subhendu

Accepted Solutions (0)

Answers (1)

Answers (1)

Shabarish_Nair
Active Contributor
0 Kudos

try,

Add the module "localejbs/AF_Modules/MessageTransformBean" before the standard module.

provide the parameter name Transform.ContentType and value text/xml

Former Member
0 Kudos

Hi Vijay,

I am wondering,Without this module, how it was working fine for so many days. Could you please throw light?

Regards,

Subhendu

Shabarish_Nair
Active Contributor
0 Kudos

by default SOAP adapter sends message as text/xml.

did you change any options in the SOAP adapter like enabling the do not use soap envelop option etc?

Former Member
0 Kudos

I did not change any parameter in the Communication channel.

Regards,

Subhendu

Shabarish_Nair
Active Contributor
0 Kudos

confirm if you have checked option like keep headers etc.

If still the problem exists then use the messagetransformbean