QName qName = new QName(SUBR_V3_NAMESPACE, SUBSCRIPTION_LISTENER_SERVICE);
Service service = Service.create(new URL(bindingTemplate.getAccessPointUrl()), qName);
subscriptionListenerPort = (UDDISubscriptionListenerPortType) service.getPort(UDDISubscriptionListenerPortType.class);
} else if (AccessPointType.END_POINT.toString().equalsIgnoreCase(bindingTemplate.getAccessPointType())) {
//endpoint deployment type
URL tmpWSDLFile = new UDDIServiceWSDL().getWSDLFilePath(UDDIServiceWSDL.WSDLEndPointType.SUBSCRIPTION_LISTENER, accessPointUrl);
UDDIService uddiService = new UDDIService(tmpWSDLFile);
subscriptionListenerPort = uddiService.getUDDISubscriptionListenerPort();
}
}