I have obtained an marshelException error when passing in an interface to ejb session bean method

for example

session bean :
process(ICmd cmd) // Error occur when calling this line


client:
process(CreateCmd)


If the session bean's parameter, ICmd is replaced with an abstract AbCmd class not interface it works and looks like so

session bean :
process(AbCmd cmd)


Has anyone come across this pls?


Glenn