0 Replies Latest reply on Jun 23, 2008 8:52 PM by Mohit Anchlia

    java.io.NotSerializableException

    Mohit Anchlia Novice

      I am trying to invoke a business method using stateless session bean. Lookup is just fine, but when I try to invoke the method I get:

      java.io.NotSerializableException: com.wsdl.common.SenderInfoType

      It looks like SenderInfoType needs to be serializable, but the problem is that it's a tool generated code and can't be serializable. Is there a work around for this problem?

      Another question is why would stateless session bean need object to implement serializable interface ?