Class<?> clz = classLoader.loadClass("org.apache.locator.LocatorService");
Class<?> paraClass = classLoader.loadClass("org.apache.locator.types.QueryEndpoints");
Method method = clz.getMethod("queryEndpoints", new Class[] {paraClass});
WebResult webRes = AnnotationUtil.getPrivMethodAnnotation(method, WebResult.class);
assertEquals("http://apache.org/locator/types", webRes.targetNamespace());
assertEquals("queryEndpointsResponse", webRes.name());
WebParam webParamAnn = AnnotationUtil.getWebParam(method, "queryEndpoints");
assertEquals("http://apache.org/locator/types", webParamAnn.targetNamespace());
method = clz.getMethod("deregisterPeerManager", new Class[] {String.class});