on 09-16-2005 12:03 PM
Hello Friends
Iam working on JDBC Sender.
Iam retrieving the data from the Oracle database and trying to create a new legacy file with the data retieved.
I have two questions.
1> Iam able to retrive data in XI but not able to cerate a file using file adapter it is giving an error
<b><?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!-- Request Message Mapping
-->
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
<SAP:Category>Application</SAP:Category>
<SAP:Code area="MAPPING">EXCEPTION_DURING_EXECUTE</SAP:Code>
<SAP:P1>com/sap/xi/tf/_VendorMaster_Vendor_</SAP:P1>
<SAP:P2>com.sap.aii.utilxi.misc.api.BaseRuntimeException</SAP:P2>
<SAP:P3>RuntimeException in Message-Mapping transformatio~</SAP:P3>
<SAP:P4 />
<<b><b>SAP:AdditionalText /></b></b>
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack>During the application mapping com/sap/xi/tf/_VendorMaster_Vendor_ a com.sap.aii.utilxi.misc.api.BaseRuntimeException was thrown: RuntimeException in Message-Mapping transformatio~</SAP:Stack>
<SAP:Retry>M</SAP:Retry>
</SAP:Error></b>
what should I do?
2> How to Disconnect from the Database?
Because once I activate the Integration Directory the JDBC Adapter is picking up the data for every poll interval. I want to get the data only once and disconnect after that.
Thanks in Advance.
Hi
If your Message type contains namespace, you must provide the namespace in the JDBC adapter.
Elling
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Narayana,
Check how you can test your mappings:
(with real values)
/people/michal.krawczyk2/blog/2005/09/16/xi-how-to-test-your-mapping-in-real-life-scenarios
Regards,
michal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Michal
Thanks for your Response.
I did the same thing you specified in mapping but Iam getting an error in the Integration Repository while testing the source code which I copied from SXI_MONI
The error is
<b>17:06:08 Start of test
Cannot produce target element /ns0:Vendor/VendorNumber. Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd
17:06:08 End of test</b>
What should I do?
Thanks in Advance.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.