SAP Knowledge Base Article - Preview

2715803 - "Missing mandatory element" exception on J2SE Adapter Engine

Symptom

You are using J2SE Adapter Engine for integration with SOAP Adapter at sender side and JMS adapter at receiver side.

During the run, the below exception raised. The exception is thrown in the partner system. Whether the same J2SE Adapter Engine or any other system that accepts XI messages over HTTP protocol.

Error occurred java.io.IOException: Missing mandatory element <sap:Main>sap:Sender/sap:Service
at com.sap.aii.af.sdk.xi.mo.xmb.XMBParty.marshal(XMBParty.java:411)
at com.sap.aii.af.sdk.xi.mo.xmb.XMBMessageHeader.marshal(XMBMessageHeader.java:830)
at com.sap.aii.af.sdk.xi.mo.Message.rebuildRootDocument(Message.java:843)
at com.sap.aii.af.sdk.xi.net.MIMEOutputSource.serialize(MIMEOutputSource.java:747)
at com.sap.aii.af.sdk.xi.net.MIMEOutputSource.serialize(MIMEOutputSource.java:734)
at com.sap.aii.messaging.adapter.ModuleTransport2JMS.onMessage(ModuleTransport2JMS.java:732)


Read more...

Environment

J2SE Adapter Engine

Product

SAP Process Integration all versions

Keywords

J2SE, mandatory element, SOAP, JMS , KBA , BC-XI-CON-JSE , J2SE Adapter Engine , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.