protected Client createClient() throws CreateException, Exception
{
ClientFactoryBean cpf = new ClientFactoryBean();
cpf.setServiceClass(ProxyService.class);
cpf.setDataBinding(new StaxDataBinding());
cpf.getFeatures().add(new StaxDataBindingFeature());
cpf.setAddress(getAddress());
cpf.setBus(getBus());
cpf.setProperties(properties);
// If there's a soapVersion defined then the corresponding bindingId will be set