on 08-06-2008 11:46 AM
Hi,
we have PI7.0.
I wanna throw an exception inside a JAVA-Mapping, but the error should be displayed inside the Monitoring SXMB_MONI in SOAP-HEader/Error - and not only inside the trace.
Is it possible to change the error type to APPLICATION-Error(restartable).
In SXMB_MONI this special ERROR should be displayed in the status-column with a "red arrow (application error-restartable)" and not a "red flag (system-error restartable)".
How can I do it.
I read the blog "XI/PI: Throwing Generic Exceptions from any type of Mapping" - good blog but I don't wanna use an ABAP-Mapping.
Thanks vor your help.
Regards
Wolfgang
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
U may follow the same methodology as provided in the blog "XI/PI: Throwing Generic Exceptions from any type of Mapping". The difference would be in reading the adapter specific attributes in java mapping instead of abap mapping using this:
http://help.sap.com/saphelp_nw04/helpdata/en/43/09b16006526e72e10000000a422035/frameset.htm
U may use a try catch block here.
Regards,
Prateek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm not sure, but maybe throwing a StreamTransformationException within a Java mapping will have the same result of the blog. You could try it.
Regarding the Application Error, though, I'm not sure it's feasible.
Regards,
Henrique.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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 | |
10 | |
7 | |
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.