Skip to Content

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

Could not parse XMBMessage due to Cannot find Main Header in XMBMessage

I am trying to send a XML file from XI to PCK. I am getting the following error during Call Adapter.

Can somebody please explain how to get rid of this error? Thanks in advance.

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

- <!-- Call Adapter

-->

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

<SAP:Category>XIServer</SAP:Category>

<SAP:Code area="INTERNAL">HTTP_RESP_STATUS_CODE_NOT_OK</SAP:Code>

<SAP:P1>500</SAP:P1>

<SAP:P2>Internal Server Error</SAP:P2>

<SAP:P3 />

<SAP:P4 />

<SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException: Could not create Message from TransportMessage. Reason: com.sap.aii.af.ra.ms.api.MessagingException: com.sap.aii.af.ra.ms.api.MessagingException: Could not parse XMBMessage due to Cannot find Main Header in XMBMessage - check the message version</SAP:AdditionalText>

<SAP:ApplicationFaultMessage namespace="" />

<SAP:Stack>HTTP response contains status code 500 with the description Internal Server Error Error when sending by HTTP (error code: 500, error text: Internal Server Error)</SAP:Stack>

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

</SAP:Error>

The fille I am trying ot send is

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

<ns0:CFP_SENDER_MT xmlns:ns0="HTTP://PCKXI.WORLDBANK.ORG">

<SEND>

<TF_Number>12</TF_Number>

<TF_Desc>1212</TF_Desc>

</SEND>

</ns0:CFP_SENDER_MT>

Former Member
Not what you were looking for? View more on this topic or Ask a question