// initialized = true;
// }
// }
final Service service = ((ServiceImpl) serviceImpl).getService();
final GenericServiceEndpoint serviceEndpoint = new GenericServiceEndpoint(portQName, service, location);
final Callback callback = new ServiceEndpointMethodInterceptor(serviceEndpoint, sortedOperationInfos, credentialsName);
final Callback[] callbacks = new Callback[]{NoOp.INSTANCE, callback};
Enhancer.registerCallbacks(serviceEndpointClass, callbacks);
try {
return (Remote) constructor.newInstance(new Object[]{serviceEndpoint});
} catch (final InvocationTargetException e) {