protected ICorrespondenceAgencyExternalBasic createClientPort() {
ICorrespondenceAgencyExternalBasic service;
JaxWsProxyFactoryBean factory = new JaxWsProxyFactoryBean();
factory.getInInterceptors().add(new LoggingInInterceptor());
factory.getOutInterceptors().add(new LoggingOutInterceptor());
factory.getOutInterceptors().add(new CdataWriterInterceptor("MessageBody"));
factory.setServiceClass(ICorrespondenceAgencyExternalBasic.class);
factory.setAddress(settings.getEndpoint());
service = (ICorrespondenceAgencyExternalBasic) factory.create();
if ("true".equalsIgnoreCase(System.getProperty("proxySet"))) {