I built a 3rd party webservice client and tried to call it from my stateful session bean. I got the "java.lang.NoClassDefFoundError: org/apache/axis/client/Service" while publish the EAR. I don't why because the axis.jar has been added to the build path. I have no such problem when I change my stateful bean to POJO (EAR is published and the webservice call goes through without problem.) Btw, I got the same error while using a stateless bean.