public void testLocatorService() throws Exception {
URL wsdl = getClass().getResource("/wsdl/locator.wsdl");
assertNotNull(wsdl);
LocatorService_Service ss = new LocatorService_Service(wsdl, serviceName);
LocatorService port = ss.getLocatorServicePort();
updateAddressPort(port, PORT);
W3CEndpointReferenceBuilder builder = new W3CEndpointReferenceBuilder();
W3CEndpointReference w3cEpr = builder.build();
port.registerPeerManager(w3cEpr,
new Holder<W3CEndpointReference>(),
new Holder<java.lang.String>());
port.deregisterPeerManager(new java.lang.String());
port.registerEndpoint(null, w3cEpr);
port.deregisterEndpoint(null, w3cEpr);
port.lookupEndpoint(new javax.xml.namespace.QName("", ""));
port.listEndpoints();
port.queryEndpoints(new QueryEndpoints());
}