on 07-02-2009 4:34 PM
Hi All,
(EP 7.0.18)
I am invoking an Adaptive Web Service model.
on doing this : modelObject().execute(); its falling into the catch statement. In my catch statement I have the following lines
wdComponentAPI.getMessageManager().reportException("Error: " +e.getMessage(), true);
wdComponentAPI.getMessageManager().reportException("Error: " +e.getCause(), true);
Where can I view these messages?
Regards
M
Hi,
When you deploy and run the application you will be able see the error in browser itself.
If you are not getting the error in browser then try with this code:
try {
-
.modelObject().execute();
wdContext.nodeOutput().invalidate();
} catch (WDDynamicRFCExecuteException e) {
final Writer wr = new StringWriter();
final PrintWriter pw = new PrintWriter(wr);
e.printStackTrace(pw);
wdComponentAPI.getMessageManager().reportException(wr.toString(),false);
}
There are some settings that need to be set in the J2EE Engine inorder view the errors in the browser.
Thanks,
Jhansi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry, I'm stupid!
I posted this message so quickly, and didn't notice it was printed at the bottom of the screen if I would have just scrolled down.
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.