cfb.setServiceName(endpoint.getServiceName());
}
if (endpoint.getEndpointName() != null) {
cfb.setEndpointName(endpoint.getEndpointName());
}
cfb.setConduitSelector(new NullConduitSelector());
client = (ClientImpl)((ClientProxy)Proxy.getInvocationHandler(cfb.create())).getClient();
}