webservices/server-integration/src/main/java/org/jboss/as/webservices/util/ASHelper.java
public static String getEndpointClassName(final ServletMetaData servletMD) {
        final String endpointClass = servletMD.getServletClass();
        return endpointClass != null ? endpointClass.trim() : null;
    }
public static String getEndpointClassName(final ServletMetaData servletMD) {
        final String endpointClass = servletMD.getServletClass();
        return endpointClass != null ? endpointClass.trim() : null;
    }
Returns endpoint class name.

@param servletMD servlet meta data
@return endpoint class name