Hi XI Friends..
in my xml to idoc..scenario..
source datatype:
DT_Units
id
date
value
target idoc : IMEASR.IMEASR01
i did mapping between these
id----
-
>E1MEASR-POINT
date----
-
>E1MEASR-IDATE
value----
-
>E1MEASR-READC
and i assigned constants for readr,itime,mdtext of target idoc.
MT_Units------>IMEASR-IDOC
i tested in message mapping..and i cpoied the source from message mapping and given as source xml
<ns0:MT_Units xmlns:ns0="http://aaaa.com/xi/PROCESS/PPE/ERP_MES"> <id>70013</id> <date>20060101</date> <value>3333</value> </ns0:MT_WearUnits>
static test of interface mapping also Ok.
in ID, TestConfiguration i given source service and source interface and target service and the payload as source xml file and its a success.
the file is picking from source but it showing EXCEPTION_DURING_EXCECUTE OF MAPPING Catagory as error.
SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand=""> <SAP:Category>Application</SAP:Category> <SAP:Code area="MAPPING">EXCEPTION_DURING_EXECUTE</SAP:Code> <SAP:P1>com/sap/xi/tf/_MM_WearUnits_To_SAP_</SAP:P1> <SAP:P2>com.sap.aii.utilxi.misc.api.BaseRuntimeException</SAP:P2> <SAP:P3>Fatal Error: com.sap.engine.lib.xml.parser.Parser~</SAP:P3> <SAP:P4></SAP:P4> <SAP:AdditionalText></SAP:AdditionalText> <SAP:ApplicationFaultMessage namespace=""></SAP:ApplicationFaultMessage> <SAP:Stack>During the application mapping com/sap/xi/tf/_MM_WearUnits_To_SAP_ a com.sap.aii.utilxi.misc.api.BaseRuntimeException was thrown: Fatal Error: com.sap.engine.lib.xml.parser.Parser~</SAP:Stack> <SAP:Retry>M</SAP:Retry> </SAP:Error>
and the payload is look like this..
<ns0:MT_Units xmlns:ns0="http://aaaaa.com/xi/PROCESS/PPE/ERP_MES"> <id>70013</id> <date>20060101</date> <value>3333</value> </ns0:MT_WearUnits>
and in file adaptermonitering ..in message content..
The XML page cannot be displayed Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later. -------------------------------------------------------------------------------- Invalid at the top level of the document. Error processing resource 'http://... <ns0:MT_Units xmlns:ns0="http://aaaaa.com/xi/PROCESS/PPE/ERP_MES"> ^
please guide me..
regards
ram