Hi,

I am trying to call a java function in a mapping activity. I have
created the jar and placed it in server/IDM/lib

Then I restarted the server ( service userapp stop and then service
userapp start ) -- ( I am not sure whether this is the correct way )


I found that the expression failed to evaluate

userapp log
------------------------------------------------------------------------


ERROR [com.novell.soa.af.impl.LogEvent] (pool-10-thread-8)
[Workflow_Error] Initiated by cn=padmin,dc=admins,dc=system, Error
Message: Dataitem [MAP0] with expression [function getValue()
{
var value=new Packages.com.wipro.novell.TestJava.getvalue(1);
return value;
}

getValue();] failed to evaluate

-------------------------------------------------------------------------

java file in the jar
-----------------


public class TestJava
{
public static boolean getvalue(int choice)
{
if(choice==1)
return true;
else
return false;
}

}

Any help would be appreciated.


--
GopinathRao
------------------------------------------------------------------------
GopinathRao's Profile: http://forums.novell.com/member.php?userid=62050
View this thread: http://forums.novell.com/showthread.php?t=404344