javax.xml.ws.Service service = new SOAPService();
Greeter greeter = service.getPort(PORT_NAME, Greeter.class);
JaxWsClientProxy eih = (JaxWsClientProxy)Proxy.getInvocationHandler(greeter);
Client client = eih.getClient();
JaxWsEndpointImpl endpoint = (JaxWsEndpointImpl)client.getEndpoint();
// The service shouldn't pick up the <jaxws:endpoint>...
// assertEquals("Unexpected bean name", PORT_NAME.toString() + ".endpoint", endpoint.getBeanName());
// // assertTrue("Unexpected value for property validating", endpoint.getValidating());
// List<Interceptor> interceptors = endpoint.getInInterceptors();
// assertEquals("Unexpected number of interceptors.", 1, interceptors.size());