public static EndpointAddress EndpointFromAddress(string address)
        {
            Uri uri = new Uri(address);

            return(new EndpointAddress(uri, EndpointManager.SpnIdentityFromUri(uri), new AddressHeader[0]));
        }