private void Initialize() { _security = new HttpBindingSecurity(); _httpTransportBindingElement = new HttpTransportBindingElement(); _httpTransportBindingElement.ManualAddressing = true; _httpsTransportBindingElement = new HttpsTransportBindingElement(); _httpsTransportBindingElement.ManualAddressing = true; _httpMessageEncodingBindingElement = new HttpMessageEncodingBindingElement(); }