on 09-22-2008 7:45 AM
Hello experts,
Following code is causing class cast exception.
IUWLService uwlService = (IUWLService) WDPortalUtils.getServiceReference(IUWLService.ALIAS_KEY);
Any idea?
-Ashutosh
Hi,
You can use this approach for getting the right name to give in the webdynpro Referance:
if you know the jar file name which houses the service class
you can search that file on Portal server.
when you will get the path where the jar file resides
then your service reference string will formulate like this:--
PORTAL:sap.com/<Folder name on server which houses the jar file>
add the service in shared reference.
Right click ur webdynpro project -> Properties -> Webdynpro references ->shared reference -> Add ->
PORTAL:sap.com/<Folder name on server which houses the jar file>
I would suggest not deploying the jar file along with Webdynpro project because later on it can cause some class loader problems.
Hope this Helps..
Siddharth
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 |
---|---|
85 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
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.