/* 185 */ String endpointAddress = null;
/* */ try
/* */ {
/* 188 */ SPIProvider spiProvider = SPIProviderResolver.getInstance().getProvider();
/* 189 */ EndpointRegistry epRegistry = ((EndpointRegistryFactory)spiProvider.getSPI(EndpointRegistryFactory.class)).getEndpointRegistry();
/* 190 */ Endpoint endpoint = epRegistry.resolve(new PortComponentResolver(pcLink));
/* 191 */ if (endpoint == null) {
/* 192 */ throw new WSException("Cannot resolve port-component-link: " + pcLink);
/* */ }
/* 194 */ ServerEndpointMetaData sepMetaData = (ServerEndpointMetaData)endpoint.getAttachment(ServerEndpointMetaData.class);
/* 195 */ endpointAddress = sepMetaData.getEndpointAddress();