in a webdypro-application i want to use portalservice via it's API. As in some SAP-documents i filled in the SharingReference in the projekt properties. But in deployment i always get the following warning/error:
Application local/ZZTest cannot be started. Reason: it has hard reference to resource com.sap.portal.usermapping.user_mapping with type application, which is not active on the server.
I want to have access to the usermapping-Service of the portal. Eg. with that code-line:
IUserMappingService iUmService = (IUserMappingService)WDPortalUtils.getServiceReference(IUserMappingService.KEY);
Could anyone give me hint to solve the problem.