Skip to Content
author's profile photo Former Member
Former Member

invalid content type for SOAP: TEXT/HTML

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Mar 26, 2009 at 06:49 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Mar 26, 2009 at 06:49 PM

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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.