Skip to Content
0
Former Member
Nov 22, 2006 at 02:44 PM

Calling a Portal Service within a Java DC / J2EE library DC

50 Views

Hello experts,

I have some problem with the following construct:

I developed a Java DC where I want to call a portal service like this:

ILDAPManagerService ldapMgrService = (ILDAPManagerService)PortalRuntime.getRuntimeResources().getService(ILDAPManagerService.KEY);

The Java DC is integrated within a "J2EE Server Component library" as Used DC

and this J2EE Server Component library will also be deployed via SDM.

Because the Java DC or the library DC is not a portal application (so there is no portalapp.xml). I do not know where put the reference, so that at runtime the portal service is called successfully.

I tried to put a reference within the provider.xml of the generated SDA-File like described here: https://forums.sdn.sap.com/click.jspa?searchID=146415&messageID=651616 but this did not help!

Does anybody know how to do it?

Thanks in advance.

Regards,

Enrico Lenk.