cancel
Showing results for 
Search instead for 
Did you mean: 

invalid content type for SOAP: TEXT/HTML

Former Member
0 Kudos

Hello everyone.

I'm trying to send a message in XI from a SAP interface to a NON-SAP interface via SOAP (Web Service) and the error response is:

com.sap.aii.af.ra.ms.api.DeliveryException: java.io.IOException: invalid content type for SOAP: TEXT/HTML

This problem is appearing in an escenario that was working fine, but when I change the Communication channel Target URL, I'm getting this error. The strange thing is that when I check the URL in a browser, it doesnt give me any error, and its exactly equal than the old URL.

If I put back the old URL the message is passing ok throw the sxi_monitor (with no errors), and with the new URL it gaves me the problem I'd posted.

The only difference between URLs is the port, the SOAP ACTION is the same.

Any idea?

Edited by: Claudio Carrer on Mar 26, 2009 7:47 PM

Accepted Solutions (0)

Answers (2)

Answers (2)

Shabarish_Nair
Active Contributor
0 Kudos

this should help - /people/shabarish.vijayakumar/blog/2008/01/08/troubleshooting--rfc-and-soap-scenarios-updated-on-20042009

prateek
Active Contributor
0 Kudos

The problem as you can see is only related to the URL because the webservice is not expecting the URL. Have you changed the wsdl also for the new scenario? The URL can be rechecked to the one present in the wsdl at bottom of it.

Regards,

Prateek