//Initialize Features.
configureObject(portName.toString() + ".jaxws-client.proxyFactory", clientFac);
AbstractServiceFactoryBean sf = null;
try {
sf = createDispatchService(new SourceDataBinding());
} catch (ServiceConstructionException e) {
throw new WebServiceException(e);
}
Endpoint endpoint = getJaxwsEndpoint(portName, sf);
Client client = new ClientImpl(getBus(), endpoint, clientFac.getConduitSelector());