cancel
Showing results for 
Search instead for 
Did you mean: 

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

Former Member
0 Kudos

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>

Accepted Solutions (0)

Answers (1)

Answers (1)

stefan_grube
Active Contributor
0 Kudos

Check your reveiver channel. It should be XI adapter, message version XI 3.0