cancel
Showing results for 
Search instead for 
Did you mean: 

DeliveryException: invalid content type for SOAP: TEXT/HTML

Former Member
0 Kudos

Hi all

Am working on an HTTP-WebService synch scenario. When I feed the input through the HTTP client it's giving an error "DeliveryException: invalid content type for SOAP: TEXT/HTML".

As per the threads posted by Silvio and Richard Quinto I changed my target URL to URL?wsdl. Still am getting the same error. Can any one help me in solving this

Thanks

Chilanka

Accepted Solutions (1)

Accepted Solutions (1)

bhavesh_kantilal
Active Contributor
0 Kudos

Hi,

Like pointed you need to use the Message Transform Bean to solve this issue.

Look into this thread and see Stefan's reply on what needs to be done,.

Regards

Bhavesh

Answers (2)

Answers (2)

Shabarish_Nair
Active Contributor
0 Kudos

try the messagetransform bean.

SAP Note: 960501 and also ref: http://help.sap.com/saphelp_nw04/helpdata/en/57/0b2c4142aef623e10000000a155106/frameset.htm

Former Member
0 Kudos

Hi,

Check in Communication channel monitoring. You will be getting some more details on the error. I think you need to use MessageTransformBean and set the content-type to test/xml.

Regards,

P.Venkat

Former Member
0 Kudos

Hi Venkat

The communication Channel Monitoring shows

SOAP: call failed: java.io.IOException: invalid content type for SOAP: TEXT/HTML

And how can we set the content type using MessageTransformation Bean?

Thanks

Chilanka

Former Member
0 Kudos

Hi,

In Configuration receiver communication channel, in the module tab, add this module before standard module "AF_Modules/MessageTransformBean".

Then add a parameter "Transform.contentType" with value "text/xml".

Regards,

P.Venkat