on 01-07-2011 8:26 AM
Hi,
I have consumed MI service in web dynpro java.
I created model from local wsdl file etc and its working perfect
But one problem is that even though its succesful execution, it returns exception.
So I am not able to catch genuine failure cases.
I have tried all below three exceptions:
try{
wdContext.createRequest_MI_UI_BSCS_GL1_OUT_518Element(request_MI_UI_BSCS_GL1_OUT_518).modelObject().execute();
}
catch(Exception ex)
{
//wdComponentAPI.getMessageManager().reportException(ex.getMessage().toString(),true);
}
try {
wdContext.createRequest_MI_UI_BSCS_GL1_OUT_518Element(request_MI_UI_BSCS_GL1_OUT_518).modelObject().execute();
} catch (WDWSModelExecuteException e)
{
// TODO Auto-generated catch block
}
try {
wdContext.createRequest_MI_UI_BSCS_GL1_OUT_518Element(request_MI_UI_BSCS_GL1_OUT_518).modelObject().execute();
} catch (RuntimeException e2) {
// TODO Auto-generated catch block
e2.printStackTrace();
}
i used runtime exception along with the wdwsmodel exception
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.