// This implementor is not derived from an SEI and does not implement
// the Remote interface. It is however annotated with a WebService
// annotation
// in which the wsdl location attribute is not set.
Object implementor = new AnnotatedGreeterNoOverloadImpl();
WSDLManager manager = bus.getWSDLManager();
EndpointReferenceType ref = EndpointReferenceUtils
.getEndpointReference(manager, implementor);
Definition def = EndpointReferenceUtils.getWSDLDefinition(manager, ref);