Skip to Content
0
Former Member
Dec 07, 2007 at 09:29 AM

URGENT: How can I get the UWLService from WebDynpro Java?

25 Views

Hello everybody,

I try to integrate a WebDynpro application in my UWL. But I can not get the IUWLService WebDynpro Java by trying the following ways:

1) The method PortalRuntime.getRuntimeResources() return a null value.

2)

IUWLService o = (IUWLService)WDPortalUtils.getServiceReference(IUWLService.ALIAS_KEY);

but I get a Class Cast Exception

It seems to return UWLPortalService, and I could not cast the Object returned as nothing usable as a base to obtain IUWLService, so...

My configuration for WebDynpro is:

<Action name="showDetails" groupAction="no" handler="SAPWebDynproLauncher" referenceBundle="view_detail" returnToDetailViewAllowed="yes" launchInNewWindow="yes" launchNewWindowFeatures="width=700,height=600,resizable=yes,scrollbars=yes,status=yes,toolbar=no,menubar=no,location=no,directories=no">

<Properties>

<Property name="WebDynproApplication" value="P8BPMViewApp"/>

<Property name="WebDynproDeployableObject" value="local/P8BPMView"/>

<Property name="isnewwindow" value="1"/>

<Property name="System" value="SAP_LocalSystem"/>

<Property name="queueName" value="FInbox"/>

<Property name="system" value="FNPortal"/>

<Property name="sessionId1" value="${item.__sessionID1}"/>

<Property name="DynamicParameter" value="externalId=F3125A2324DB4B0489FF84D5A16F1E406"/>

</Properties>

</Action>

Does someone have the same problem?

Thanks in advance for any help.

Regards,

An