Skip to Content
0
Former Member
Jul 17, 2007 at 03:15 PM

Message General com.sap.aii.af.ra.ms.api.DeliveryException: invalid content

39 Views

Hello Everyone,

Thank you all for your valuable help.

I am getting the following error.

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>

- <!-- Aufruf eines Adapters

-->

- http://sap.com/xi/XI/Message/30" xmlns:SOAP=" http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">

<SAP:Category>XIAdapterFramework</SAP:Category>

<SAP:Code area="MESSAGE">GENERAL</SAP:Code>

<SAP:P1 />

<SAP:P2 />

<SAP:P3 />

<SAP:P4 />

<SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException: invalid content type for SOAP: TEXT/HTML</SAP:AdditionalText>

<SAP:ApplicationFaultMessage namespace="" />

<SAP:Stack />

<SAP:Retry>M</SAP:Retry>

</SAP:Error>

I tried the solution suggested by Stefan

soap-receiver--how-to-convert-applicationxml-of-pa

<b>Per default the SOAP adapter sends the SOAP message the content type text/xml. So you need not do anything special.

When you check "Do not use SOAP envelope", the default contnet type is application/xml. You can change the content type like this: Go to the SOAP receiver communication channel module tab. Add the module "localejbs/AF_Modules/MessageTransformBean" before the standard module. Add the parameter name Transform.ContentType and value text/xml</b>

<u>I wanted to know based on the error should I change the content type to text/html or text/xml in either case its giving the same error.Also the parameter value should also have text/html;charset=utf-8 or text/xml;charset=utf-8</u> (Also the separator is a semi colon or a colon between (text/html andcharset=utf-8)

I also tried if there was any problem with the URL as suggested by Ricardo Quintino

invalid-content-type-for-soap-texthtml

<b>The address in soap address location from main.wsdl was wrong! I tried opening this address in a web browser and the page that I see is info with the webservice published and a link to the webservice wsdl. Using this wsdl link in my receiver soap adapter works!!!</b>

So, the web service address that we must type in target URL of receiver soap adapter is the address to the WSDL. To be sure types this address in a browser and you must see a WSDL code of the webservice that you want invoke.

But it still gives the same error.

Please help me with the same.

Regards,

Kiran