CWSCA9126E   The 0 Java interface is not valid because it is an EJB local or remote interface.

Explanation

Java interfaces must not include the @Local or @Remote annotation. Also, the Java interface must not extend the javax.ejb.EJBLocalObject or javax.ejb.EJBObject interface.

User response

In Assembly editor, select the specified EJB export binding. In the Properties view, on the Details tab, choose a Java interface that does not include the @Local or @Remote annotation and does not extend the javax.ejb.EJBLocalObject or javax.ejb.EJBObject interface. Then right-click the EJB export binding and select Regenerate Binding.