cancel
Showing results for 
Search instead for 
Did you mean: 

How to capture mapping error and able to send it..

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

VijayKonam
Active Contributor
0 Kudos

Thanks Sathis for the pointers. Let me check them and come back to you if I have any more questions.

VijayKonam
Active Contributor
0 Kudos

We have decided to check for the wellformed input xml at the sending system side.

Thanks for all who tried to help.

VJ

Answers (0)