(In order to Enlarge images Please Right Click and Open images in New Tab).
Let us see solution
If your class is not with this
[Serializable] attribute .Then it won’t allows.
So in order to resolve this issue declare your method as a static in that class and invoke it with class name in Orchestration Shape.