Skip to Content
0
Former Member
Aug 14, 2007 at 03:49 PM

Error while using the UWL APIs?

11 Views

Hi All,

I am using the UWL APIs for Task generation.

Following line is giving error in my code :

<b>IUWLService uwlService =

(IUWLService) PortalRuntime.getRuntimeResources().getService(

IUWLService.ALIAS_KEY);

UWLContext myContext = new UWLContext();

try {

IUWLSession mySession = uwlService.getUwlSessionForWebDynproClient(myContext);

}

catch (Exception e) {

response.write("Can not create session");

}

[</b>

The error is " The method getUwlSessionForWebDynproClient is undefined for the type IUWLService

Please help. I am using the right jar

<b><property name="ServicesReference" value="SAPJ2EE::library:tckmcbc.uwl~api"/></b>

Please help.

Marks given for early and helpful replies.

Sumit