on 11-07-2007 5:14 AM
Hi All,
I am running a interface Proxy to JDBC. But in case if proxy has no new data, the message which goes to the database is:
<b> <?xml version="1.0" encoding="utf-8" ?>
- <ns1:MT_Material xmlns:ns1="urn:sce-com:xi:fi:UnitEstimateData">
- <Insert_Material>
- <dbTableName action="INSERT">
<table>SCEI_UE_MATERIALS</table>
</dbTableName>
</Insert_Material>
</ns1:MT_Material></b>
and I get the error in RWB as <b>Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'SCEI_UE_MATERIALS' (structure 'Insert_Material'): java.sql.SQLException: FATAL ERROR document format in structure 'Insert_Material': expected 'access' tag(s) not found</b>.
Is there a way so that the JDBC adapter doesn't throw any error if there is no access node??
Pls advice...
XIer
Xier,
Generate teh node <Insert_Material> only if the data exists in the incoming payload.
You can use exists function for any of the mandatory segments and achieve the same.
raj.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.