if (webMethodCount == 0 && !wsClass.isInterface())
{
for (Method method : wsClass.getMethods())
{
WebMethod annotation = method.getAnnotation(WebMethod.class);
boolean exclude = annotation != null && annotation.exclude();
if (!exclude && method.getDeclaringClass() != Object.class)
{
processWebMethod(epMetaData, method);
webMethodCount++;
}