on 09-21-2016 5:20 PM
Hello experts,
We have created a SOAP to proxy scenario.
Done with IR development as well as ID development.
tested our mapping via mapping tool.. tested the ID configuration via test tool in ID all sucessful.
tested the message from RWB integration engine... every thing is smooth message is received in ECC system.
When i generated the WSDL file and tested the message from SOAP UI i am facing the below error in SAP PI.
The payload node is not generating in SXMB_MONI thus message is failing with below error.
<SAP:Category>Application</SAP:Category>
<SAP:Code area="MAPPING">EXCEPTION_DURING_EXECUTE</SAP:Code>
<SAP:P1>com/sap/xi/tf/_MM_Available_Budget_</SAP:P1>
<SAP:P2>com.sap.aii.utilxi.misc.api.BaseRuntimeException</SAP:P2>
<SAP:P3>Parsing an empty source. Root element expected!</SAP:P3>
<SAP:P4 />
<SAP:AdditionalText />
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack>com.sap.aii.utilxi.misc.api.BaseRuntimeException thrown during application mapping com/sap/xi/tf/_MM_Available_Budget_: Parsing an empty source. Root element expected!</SAP:Stack>
PS. we are on SAP PI 7.0
Any help and inputs will be appreciated.
Regards,
Ankit
Hi Ankit,
Compare the XML generated in the monitoring between the two cases. The problem could be in the namespace that it can be different. If you use SOAPui, compare the XML request with you message mapping source XML.
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Inaki,
Completely agree with you
**********This is used while testing from RWB and the message was successful************
<?xml version="1.0" encoding="UTF-8"?>
<ns0:MT_Available_Budget_OB xmlns:ns0="usr:http://**************/ERMS/PM/RetriveAvailableBudget">
<ReqHeader>
<RequestId>1</RequestId>
<ReqTransactionId>2</ReqTransactionId>
<ProviderId>3</ProviderId>
<ConsumerId>4</ConsumerId>
<ReqTimestamp>5</ReqTimestamp>
</ReqHeader>
<ReqData>
<CostFundCenter>
<FundCenter>11</FundCenter>
<CommitmentItem>22</CommitmentItem>
<FMArea>33</FMArea>
<FiscalYear>44</FiscalYear>
<Period>55</Period>
</CostFundCenter>
<CostFundCenter>
<FundCenter>11</FundCenter>
<CommitmentItem>22</CommitmentItem>
<FMArea>33</FMArea>
<FiscalYear>44</FiscalYear>
<Period>55</Period>
</CostFundCenter>
<Order>
<OrderId>111</OrderId>
<FundCenter>222</FundCenter>
<CommitmentItem>333</CommitmentItem>
<FMArea>444</FMArea>
<FiscalYear>555</FiscalYear>
<Period>666</Period>
</Order>
<Project>
<ProjectId>1111</ProjectId>
<FinancialYear>2222</FinancialYear>
</Project>
<Project>
<ProjectId>1111</ProjectId>
<FinancialYear>2222</FinancialYear>
</Project>
</ReqData>
</ns0:MT_Available_Budget_OB>
********************************************END*************************************************8
*********************Automatic request generated in SOAP UI *********************************
************No payload is received in PI and thus message failing ***********************
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ret="usr:http://**************/ERMS/PM/RetriveAvailableBudget">
<soapenv:Header/>
<soapenv:Body>
<ret:MT_Available_Budget_OB>
<!--Optional:-->
<ReqHeader>
<!--Optional:-->
<RequestId>?</RequestId>
<!--Optional:-->
<ReqTransactionId>?</ReqTransactionId>
<!--Optional:-->
<ProviderId>?</ProviderId>
<!--Optional:-->
<ConsumerId>?</ConsumerId>
<!--Optional:-->
<ReqTimestamp>?</ReqTimestamp>
</ReqHeader>
<!--Optional:-->
<ReqData>
<!--Zero or more repetitions:-->
<CostFundCenter>
<!--Optional:-->
<FundCenter>?</FundCenter>
<!--Optional:-->
<CommitmentItem>?</CommitmentItem>
<!--Optional:-->
<FMArea>?</FMArea>
<!--Optional:-->
<FiscalYear>?</FiscalYear>
<!--Optional:-->
<Period>?</Period>
</CostFundCenter>
<!--Zero or more repetitions:-->
<Order>
<!--Optional:-->
<OrderId>?</OrderId>
<!--Optional:-->
<FundCenter>?</FundCenter>
<!--Optional:-->
<CommitmentItem>?</CommitmentItem>
<!--Optional:-->
<FMArea>?</FMArea>
<!--Optional:-->
<FiscalYear>?</FiscalYear>
<!--Optional:-->
<Period>?</Period>
</Order>
<!--Zero or more repetitions:-->
<Project>
<!--Optional:-->
<ProjectId>?</ProjectId>
<!--Optional:-->
<FinancialYear>?</FinancialYear>
</Project>
</ReqData>
</ret:MT_Available_Budget_OB>
</soapenv:Body>
</soapenv:Envelope>
Hello Ankit,
Generate the structure in SOAP UI using WSDL of service interface or endpoint from service agreement .Then you should not get this error.This seems like some field is missed out.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.