Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Webservice hell - invalid content type for SOAP: TEXT/HTML

Hi All

I'm trying to call a webservice in XI and getting the dreaded "invalid content type for SOAP: TEXT/HTML" error.

Running it in XMLSpy it works perfectly well, but not in XI.

Here are some screenshots:

1) The Request sent from XMLSpy

[XMLSpy Request - Successful|]

2) The successful response to XMLSpy

[XMLSpy response|]

3) Here is the error in XI in RWB, together with the XML payload

[XML and RWB error|]

4) Here is the SOAP Comms Channel

[Comms channel|]


1. The 'Target URL' and the 'SOAP Action' are taken directly from the parameters used successfully in XMLSpy

2. I have already added 'localejbs/AF_Modules/MessageTransformBean' / 'Transform.ContentType' / text/xml;charset=utf-8

I woul really appreciate some help with this, as I'm getting kind of desparate.

Thanks in advance.

Former Member
Former Member replied

Hi Andy,

happpy to hear from you.

From First reply itself i was telling you to check your pi servers firewall and port enablement

Why you were getting that error Message?

Because due to firewall issue PI was getting some HTTP response in HTML and SOAP adapter was unable to parse those HTML response.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question