}
if (nodename == null || nodename.equals("")) {
log.warn("'node' is not defined in the config! defaulting to '" + DEFAULT_NODE_NAME +"'");
nodename = DEFAULT_NODE_NAME;
}
UDDINode uddiNode = clientConfig.getUDDINode(nodename);
clazz = uddiNode.getProxyTransport();
if (clazz.contains("JAXWS")) {
WS_Transport = true;
}
transport = client.getTransport(nodename);
security = transport.getUDDISecurityService();
inquiry = transport.getUDDIInquiryService();
subscription = transport.getUDDISubscriptionService();
publish = transport.getUDDIPublishService();
custody = transport.getUDDICustodyTransferService();
if (WS_Transport) {
if (uddiNode.getPublishUrl().toLowerCase().startsWith("https://")
&& (uddiNode.getSecurityUrl() != null && uddiNode.getSecurityUrl().toLowerCase().startsWith("https://"))
&& uddiNode.getInquiryUrl().toLowerCase().startsWith("https://")
&& (uddiNode.getCustodyTransferUrl() != null && uddiNode.getCustodyTransferUrl().toLowerCase().startsWith("https://"))
&& (uddiNode.getSubscriptionUrl() != null && uddiNode.getSubscriptionUrl().toLowerCase().startsWith("https://"))) {
WS_securePorts = true;
}
else
WS_securePorts=false;
}