on 10-25-2010 7:03 AM
hi,exports:
there is a jdbc synchronous scenarios:ECC->SQLServer,Data is passed to the PI by proxy,then PI insert these data into the database,and return the count of the sucessfully insert records with the item "count".ECC use this information to set the status of some items.
But there is a problem,when insert operation is failed,the "count " item will not return ,and how can i return this error information to the ECC.For example when insert is failed,pi returned "count" item with zero.
expect your anwers,thank you.
For a sync proxy, you receive a system fault exception when an error occurs.
So you can do an error handling based on that exception.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Yupeng,
If "Insert" fails, The total interface is failed.
If there is no records are to Insert in Database, Then count value "0".Then it returns the count value.
For just for identification send the JDBC REQUEST XML and JDBC Response XML, then we can easily to identify the error.
Thank you
Sateesh
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 | |
9 | |
9 | |
9 | |
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.