Skip to Content
0
Former Member
May 30, 2008 at 05:11 AM

Could not parse XMBMessage due to invalid content type for SOAP: TEXT/HTML

175 Views

Hi all,

I am working on a SOAP scenario,

the soap body is as follows

http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC=" http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd=" http://www.w3.org/2001/XMLSchema">

<SOAP-ENV:Body>

http://titan.co.in/test">

<name>String</name>

<age>String</age>

</m:MT_test>

</SOAP-ENV:Body>

</SOAP-ENV:Envelope>

when i tried to request it using XML spy, following error i am getting ,

<?xml version="1.0"?>

<!-- see the documentation -->

http://schemas.xmlsoap.org/soap/envelope/">

<SOAP:Body>

<SOAP:Fault>

<faultcode>SOAP:Server</faultcode>

<faultstring>Server Error</faultstring>

<detail>

http://sap.com/xi/WebService/xi2.0">

<context>XIAdapter</context>

<code>ADAPTER.JAVA_EXCEPTION</code>

<text><![CDATA[

com.sap.aii.af.ra.ms.api.DeliveryException: com.sap.aii.af.ra.ms.api.MessagingException: Could not parse XMBMessage due to invalid content type for SOAP: TEXT/HTML

at com.sap.aii.af.ra.ms.impl.core.queue.consumer.CallConsumer.onMessage(CallConsumer.java:158)

at com.sap.aii.af.ra.ms.impl.core.queue.Queue.run(Queue.java:916)

at com.sap.aii.af.ra.ms.runtime.MSWorkWrapper.run(MSWorkWrapper.java:56)

at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)

at java.security.AccessController.doPrivileged(Native Method)

at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)

at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)

]]></text>

</s:SystemError>

</detail>

</SOAP:Fault>

</SOAP:Body>

</SOAP:Envelope>

the request is coming to xi, when i am monitoring the communication channel in RWB,

i am getting message, "request received, error occured"

this is anew xi server, is ther any configuration need to do.

Please help me.

Regards

Pradeep P N