Using Custom Java Class - WorkflowRegistry.xml

I am using a custom java class in workflow. While executing I am getting errot -

com.waveset.util.WavesetException: Class com.LdapGroupMod is not a WorkflowApplication

It seems from documentation that I need to add this in workflowregistry.xml file. I added the same like given below -

<WorkflowApplication name='Workflow Name'

class='com.LdapGroupMod'>

<Comments>Nothing Here</Comments>

</WorkflowApplication>

Even tried restaring the application server but I am still getting same error.Any idea what needs to be done here? or I am missing smething?

[688 byte] By [pankajanand] at [2007-11-26 11:21:30]
# 1

Well the first thing would be to read the workflowRegistry.xml file. The header talks about internal and external applications and so on. The crucial part is that any application registered must implement the WorkflowApplication interface (which I guess your class dont do)

I gave up. I am totally baffled by the documentation. I admit it.

What I did was to create an Script action in an Activity where the script used Xpress to invoke my class. It seems to work.

greenfan88 at 2007-7-7 3:36:54 > top of Java-index,Web & Directory Servers,Directory Servers...
# 2
Can you please let me know in detail how you implemented it? I have a similar requirement. Thanks in advance. Email: s_kandlikar@yahoo.com
s_kandlikar at 2007-7-7 3:36:55 > top of Java-index,Web & Directory Servers,Directory Servers...
# 3
Check if you are throwing a WavesetException in your custom method. Apart from this hope you have implemented init(), call() and destroy() correctly.Thanks,Anand
GloboDesk at 2007-7-7 3:36:55 > top of Java-index,Web & Directory Servers,Directory Servers...