on 01-14-2009 3:03 PM
Hello,
I am trying to handle value mapping errors with an UDF (User Defined Function) with the mapping editor.
I was successful to simulate the standard valueMapping function (return the input value if value mapping is not found).
Here a part of my source code:
try {
return XIVMService.executeMapping(src, dst, source);
} catch (ValueMappingException e) {
return (source);
}
Is any way to fill the default ExchangeFaultData (defined in Design in inbound Message Interface) with exception's information when ValueMappingException is thrown?
Thanks,
S. LAMINE
Edited by: S.Lamine on Jan 15, 2009 9:34 AM
Hi,
>>Is any way to fill the default ExchangeFaultData
I'd say this is not possible to achive in standard
but maybe someone else has done such a thing
Regards,
Michal KRawczyk
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi S,
please follow Michals excellent blog [XI/PI: Throwing Generic Exceptions from any type of Mapping|https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/6398] [original link is broken] [original link is broken] [original link is broken];
I think the ExchangeFaultData can be filled only in case of application fault.
Regards,
Udo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
6 | |
6 | |
5 | |
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.