on 04-08-2009 8:20 AM
Dear experts,
Any one know how to call portal services in web dynpro java like page service in web dynpro?
Thanks,
Kenneth
Hi
IMyService portalservice=(IMyService)WDPortalUtils.getServiceRefrence(IMyService.KEY);
portalservice.myMethod();
This is the code to get portal service reference and call methods implemented in the service
Also, add prtapi.jar to build path. Add sharing refernce to portal:sap.com/<Portal Application name>
Regards,
Yoga
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 | |
9 | |
6 | |
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.