Skip to Content

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

error in soap - Invalid content type

Hi all

In soap lookup, i am getting a error that the content type is invalid.

This is the string from which i have derived the xmlPayload.

<i><ConversionRate xmlns="http://www.webserviceX.NET/"> <FromCurrency>INR</FromCurrency><ToCurrency>USD</ToCurrency></ConversionRate></i>

My error message is

<i>invalid content type for SOAP: TEXT/PLAIN: invalid content type for SOAP: TEXT/PLAIN'. Cause Exception: 'invalid content type for SOAP: TEXT/PLAIN'.</i>

Can someone please suggest me what could have gone wrong?

Former Member

Change the content type to application\txt from application\xml.

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