on 05-14-2007 8:26 PM
Hi Friends,
We have a requirement, where in, if a mapping fails due to missing required element or improper formation of the source xml message, we need to capture this and need to create an error message, which contains the error description as one of the elemnets and send it to the concerned system back. Basically, it is to let the sending system know that, what went wrong.
Is there any api available which can capture the mapping error and which could be used under java mapping used for exception handling? Any pointers in this regard would be of utmost helpful.
Regards,
Vijay
Vijay,
You can throw some exceptions like mentioned in the weblog:
/people/alessandro.guarneri/blog/2006/01/26/throwing-smart-exceptions-in-xi-graphical-mapping
/people/michal.krawczyk2/blog/2007/04/26/xipi-throwing-generic-exceptions-from-any-type-of-mapping
Once you see this message your support guys should check the message and let the sender system side know about this.
---Satish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
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.