Skip to Content
avatar image
Former Member

JMS sender adapter content conversion error

Hi,

Kindly find the error report from MONI.. and have followed this document for sender JMS content configuration

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/xi/xi-adapters/how%20to%20use%20the%20content%20conversion%20module%20with%20xi%203.0%20j2ee%20jms%20adapter.pdf

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

- <!-- Request Message Mapping

-->

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

<SAP:Category>Application</SAP:Category>

<SAP:Code area="MAPPING">EXCEPTION_DURING_EXECUTE</SAP:Code>

<SAP:P1>com/sap/xi/tf/_MM_NFEIN_</SAP:P1>

<SAP:P2>com.sap.aii.utilxi.misc.api.BaseRuntimeException:</SAP:P2>

<SAP:P3>Content is not allowed in prolog.</SAP:P3>

<SAP:P4 />

<SAP:AdditionalText />

<SAP:Stack>Runtime exception occurred during application mapping com/sap/xi/tf/_MM_NFEIN_; com.sap.aii.utilxi.misc.api.BaseRuntimeException:Content is not allowed in prolog.</SAP:Stack>

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

</SAP:Error>

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Sep 03, 2010 at 07:34 AM

    According to the error message, the FCC was not performed.

    So check your settings again, especially the correct order of adapter modules.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 03, 2010 at 08:06 AM
    <SAP:Code area="MAPPING">EXCEPTION_DURING_EXECUTE</SAP:Code> 
    <SAP:P1>com/sap/xi/tf/_MM_NFEIN_</SAP:P1> 
    <SAP:Stack>Runtime exception occurred during application mapping com/sap/xi/tf/_MM_NFEIN_; 
    com.sap.aii.utilxi.misc.api.BaseRuntimeException:Content is not allowed in prolog.</SAP:Stack>

    It looks more like a mapping issue.....are you sure that your mapping is able to convert the source payload properly in the target format...can you test successfully in IR/ ESR --> Message Mapping --> Test Tab?

    Since you are using FCC for Sender, what you have to ensure that the Inbound message (SXMB_MONI...first step) is displaying the XML message in required format. If this is not correct, then your mapping will fail

    Regards,

    Abhishek.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 03, 2010 at 08:30 AM

    Check the inbound payload in MONI. It seems the FCC has not converted the data in proper xml format and that's why you are getting the error.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      If header is working then OrderDetail and trailer must work. There will be some small configuration error in FCC. Try to look carefully or send the rest of the FCC configuration of Order & Trailer.