cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot find Main Header in XMBMessage

Former Member
0 Kudos

Hi

I am implementing a JDBC Receiver using the J2SE Adapter Engine.

We've already implemented another JDBC Receiver which works fine, but for the payload shown below I receive the following exception from the J2SE Adapter Engine:

com.sap.aii.messaging.mo.MalformedMessageException

Cannot find Main Header in XMBMessage

What does this error message mean and how do I correct it?

Is there documentation available somewhere to describe the possible error messages from this exception and what they mean?

thank you

Werner Pyke

Cape Town, South Africa

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

<ns3:Items xmlns:ns3="urn:pnp:arms:ddic">

<Statement>

<SAP_BasicItem action="EXECUTE">

<table>SAP_BasicItem</table>

<gtin type="NUMERIC">6001001</gtin>

<description type="VARCHAR">ARTICLE1</description>

</SAP_BasicItem>

</Statement>

<Statement>

<SAP_BasicItem action="EXECUTE">

<table>SAP_BasicItem</table>

<gtin type="NUMERIC">6001002</gtin>

<description type="VARCHAR">ARTICLE2</description>

</SAP_BasicItem>

</Statement>

</ns3:Items>

Accepted Solutions (0)

Answers (1)

Answers (1)

stefan_grube
Active Contributor
0 Kudos

Check, if the XI version in the receiver adapter is set correctly (XI 2.0 or XI 3.0)

Stefan