on 01-15-2010 9:14 AM
Hi,
I have a issue with accessing the ISystems object - when I acess it is throwing ClassCastException at ISystems systems = (ISystems) WDPortalUtils.getServiceReference(ISystems.KEY).
Code.
IWDClientUser wdUser = WDClientUser.getLoggedInClientUser();
IUser user = wdUser.getSAPUser();
ISystems systems= (ISystems)WDPortalUtils.getServiceReference(ISystems.KEY);
String mm_systemID = systems.getSystemId("host_name");
Anybody help me with this issue please.
Hi,
try to print the Object class returned by the method:
wdCompontentAPI.getMessageManager.reportSuccess(WDPortalUtils.getServiceReference(ISystems.KEY).getClass().getName()));
Regards
Matteo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
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.