315 references to Endpoints
Binding.Custom.IntegrationTests (4)
CustomBindingTests.4.0.0.cs (1)
27factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.DefaultCustomHttp_Address));
CustomBindingTests.4.1.0.cs (3)
34var endpointIdentity = new DnsEndpointIdentity(Endpoints.Tcp_CustomBinding_SslStreamSecurity_HostName); 35factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(new Uri(Endpoints.Tcp_CustomBinding_SslStreamSecurity_Address), endpointIdentity)); 73factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpsSoap12_Address));
Binding.Http.IntegrationTests (14)
BasicHttpBindingTests.4.0.0.cs (8)
37serviceProxy = factory.CreateChannel(new EndpointAddress(Endpoints.HttpBaseAddress_Basic + Enum.GetName(typeof(WSMessageEncoding), messageEncoding))); 76factory = new ChannelFactory<IWcfService>(customBinding, new EndpointAddress(Endpoints.HttpBaseAddress_Basic + Enum.GetName(typeof(WSMessageEncoding), messageEncoding))); 112factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_Basic + Enum.GetName(typeof(WSMessageEncoding), messageEncoding))); 158factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_Basic + Enum.GetName(typeof(WSMessageEncoding), messageEncoding))); 214factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_Basic + Enum.GetName(typeof(WSMessageEncoding), messageEncoding))); 254factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_Basic + Enum.GetName(typeof(WSMessageEncoding), messageEncoding))); 298factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text)); 346factory = new ChannelFactory<IWcfDecompService>(customBinding, new EndpointAddress(Endpoints.HttpBaseAddress_BasicDecomp));
NetHttpBindingTests.4.0.0.cs (1)
28factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_NetHttp + Enum.GetName(typeof(NetHttpMessageEncoding), messageEncoding)));
NetHttpsBindingTests.4.1.0.cs (3)
31factory = new ChannelFactory<IWcfService>(netHttpsBinding, new EndpointAddress(Endpoints.HttpBaseAddress_NetHttps + Enum.GetName(typeof(NetHttpMessageEncoding), messageEncoding))); 68factory = new ChannelFactory<IWcfService>(netHttpsBinding, new EndpointAddress(Endpoints.HttpBaseAddress_NetHttps_Binary)); 97factory = new ChannelFactory<IWcfService>(netHttpsBinding, new EndpointAddress(Endpoints.HttpBaseAddress_NetHttps_Binary));
OperationContextTests.cs (1)
41factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text));
WSHttpBindingTests.cs (1)
27factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.WSHttpBindingBaseAddress + Enum.GetName(typeof(WSMessageEncoding), messageEncoding)));
Binding.ReliableSession.IntegrationTests (15)
NetHttpBindingTests.cs (6)
37factory = new ChannelFactory<IWcfReliableService>(customBinding, new EndpointAddress(Endpoints.ReliableSession_NetHttp + endpointSuffix)); 75factory = new ChannelFactory<IOneWayWcfReliableService>(customBinding, new EndpointAddress(Endpoints.ReliableOneWaySession_NetHttp + endpointSuffix)); 111factory = new ChannelFactory<IWcfReliableService>(customBinding, new EndpointAddress(Endpoints.ReliableSession_NetHttp + endpointSuffix)); 195factory = new ChannelFactory<IWcfReliableService>(customBinding, new EndpointAddress(Endpoints.ReliableSession_NetHttp + endpointSuffix)); 277factory = new ChannelFactory<IWcfReliableService>(customBinding, new EndpointAddress(Endpoints.ReliableSession_NetHttp + endpointSuffix)); 366factory = new ChannelFactory<IWcfReliableService>(customBinding, new EndpointAddress(Endpoints.ReliableSession_NetHttp + endpointSuffix));
NetTcpBindingTests.cs (3)
32factory = new ChannelFactory<IWcfReliableService>(customBinding, new EndpointAddress(Endpoints.ReliableSession_NetTcp + endpointSuffix)); 69factory = new ChannelFactory<IOneWayWcfReliableService>(customBinding, new EndpointAddress(Endpoints.ReliableOneWaySession_NetTcp + endpointSuffix)); 107factory = new DuplexChannelFactory<IWcfReliableDuplexService>(instanceContext, customBinding, new EndpointAddress(Endpoints.ReliableDuplexSession_NetTcp + endpointSuffix));
WSHttpBindingTests.cs (6)
37factory = new ChannelFactory<IWcfReliableService>(customBinding, new EndpointAddress(Endpoints.ReliableSession_WSHttp + endpointSuffix)); 75factory = new ChannelFactory<IOneWayWcfReliableService>(customBinding, new EndpointAddress(Endpoints.ReliableOneWaySession_WSHttp + endpointSuffix)); 111factory = new ChannelFactory<IWcfReliableService>(customBinding, new EndpointAddress(Endpoints.ReliableSession_WSHttp + endpointSuffix)); 195factory = new ChannelFactory<IWcfReliableService>(customBinding, new EndpointAddress(Endpoints.ReliableSession_WSHttp + endpointSuffix)); 277factory = new ChannelFactory<IWcfReliableService>(customBinding, new EndpointAddress(Endpoints.ReliableSession_WSHttp + endpointSuffix)); 366factory = new ChannelFactory<IWcfReliableService>(customBinding, new EndpointAddress(Endpoints.ReliableSession_WSHttp + endpointSuffix));
Binding.Tcp.IntegrationTests (10)
NetTcpBindingTests.4.0.0.cs (5)
27factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.Tcp_NoSecurity_Address)); 60factory = new ChannelFactory<IWcfServiceGenerated>(binding, new EndpointAddress(Endpoints.Tcp_NoSecurity_Address)); 98factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.Tcp_NoSecurity_Address)); 139factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.Tcp_NoSecurity_Address)); 181factory = new ChannelFactory<IWcfServiceGenerated>(binding, new EndpointAddress(Endpoints.Tcp_Streamed_NoSecurity_Address));
NetTcpBindingTests.4.1.0.cs (2)
29factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.Tcp_DefaultBinding_Address)); 66factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.Tcp_DefaultBinding_Address));
OperationContextAsyncFlowTests.cs (3)
28factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.Tcp_DefaultBinding_Address)); 63factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.Tcp_DefaultBinding_Address)); 113EndpointAddress endpointAddress = new EndpointAddress(Endpoints.Tcp_NoSecurity_DuplexCallback_Address);
Binding.WS.FederationHttp.IntegrationTests (6)
WSFederationHttpBindingTests.cs (6)
37issuerAddress = new EndpointAddress(new Uri(Endpoints.WSFederationAuthorityLocalSTS + endpointSuffix)); 38tokenTargetAddress = Endpoints.Https_SecModeTransWithMessCred_ClientCredTypeIssuedTokenSaml2 + endpointSuffix + (useSecureConversation ? "/sc" : string.Empty) + "/" + Enum.GetName(typeof(WSMessageEncoding), encoding); 97issuerAddress = new EndpointAddress(new Uri(Endpoints.WSFederationAuthorityLocalSTS + "wsHttp/wstrustFeb2005")); 98tokenTargetAddress = Endpoints.Https_SecModeTransWithMessCred_ClientCredTypeIssuedTokenSaml2 + "wsHttp/wstrustFeb2005/Text"; 148issuerAddress = new EndpointAddress(new Uri(Endpoints.WSFederationAuthorityLocalSTS + "wsHttp/wstrust13")); 149tokenTargetAddress = Endpoints.Https_SecModeTransWithMessCred_ClientCredTypeIssuedTokenSaml2 + "wsHttp/wstrust13/Text";
Client.ChannelLayer.IntegrationTests (15)
DuplexChannelShapeTests.4.0.0.cs (4)
41channel = factory.CreateChannel(new EndpointAddress(Endpoints.Tcp_NoSecurity_Address)); 96channel = factory.CreateChannel(new EndpointAddress(Endpoints.Tcp_NoSecurity_Address)); 148factory = new DuplexChannelFactory<IWcfDuplexService_CallbackConcurrencyMode>(instanceContext, binding, Endpoints.DuplexCallbackConcurrencyMode_Address); 177factory = new DuplexChannelFactory<IWcfDuplexService_CallbackConcurrencyMode>(instanceContext, binding, Endpoints.DuplexCallbackConcurrencyMode_Address);
DuplexChannelShapeTests.4.1.0.cs (2)
38channel = factory.CreateChannel(new EndpointAddress(Endpoints.HttpBaseAddress_NetHttpsWebSockets)); 98channel = factory.CreateChannel(new EndpointAddress(Endpoints.HttpBaseAddress_NetHttpWebSockets));
DuplexChannelWithSynchronizationContext.cs (4)
34EndpointAddress endpointAddress = new EndpointAddress(new Uri(Endpoints.Tcp_Certificate_Duplex_Address)); 94EndpointAddress endpointAddress = new EndpointAddress(new Uri(Endpoints.Tcp_Certificate_Duplex_Address)); 172EndpointAddress endpointAddress = new EndpointAddress(new Uri(Endpoints.Tcp_Certificate_Duplex_Address)); 235factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.Tcp_NoSecurity_Address));
RequestReplyChannelShapeTests.4.0.0.cs (4)
40channel = factory.CreateChannel(new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text)); 94channel = factory.CreateChannel(new EndpointAddress(Endpoints.DefaultCustomHttp_Address)); 146channel = factory.CreateChannel(new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text)); 202channel = factory.CreateChannel(new EndpointAddress(Endpoints.DefaultCustomHttp_Address));
RequestReplyChannelShapeTests.4.1.0.cs (1)
39channel = factory.CreateChannel(new EndpointAddress(Endpoints.HttpBaseAddress_NetHttps_Binary));
Client.ClientBase.IntegrationTests (35)
ChannelBaseTests.4.0.0.cs (5)
32client = new MyClientBaseWithChannelBase(customBinding, new EndpointAddress(Endpoints.DefaultCustomHttp_Address)); 71client = new MyClientBaseWithChannelBase(customBinding, new EndpointAddress(Endpoints.HttpSoap12_Address)); 123client = new MyClientBaseWithChannelBase(customBinding, new EndpointAddress(Endpoints.HttpSoap12_Address)); 178client = new MyClientBaseWithChannelBase(customBinding, new EndpointAddress(Endpoints.HttpSoap12_Address)); 227string endpoint = Endpoints.HttpSoap12_Address;
ClientBaseTests.4.0.0.cs (15)
30client = new MyClientBase<IWcfService>(customBinding, new EndpointAddress(Endpoints.DefaultCustomHttp_Address)); 70string endpoint = Endpoints.DefaultCustomHttp_Address; 120client = new MyClientBase(customBinding, new EndpointAddress(Endpoints.DefaultCustomHttp_Address)); 165client = new MyClientBase(customBinding, new EndpointAddress(Endpoints.HttpSoap12_Address)); 214string endpoint = Endpoints.HttpSoap12_Address; 289string endpoint = Endpoints.HttpSoap12_Address; 368string endpoint = Endpoints.HttpSoap12_Address; 445string endpoint = Endpoints.HttpSoap12_Address; 495string endpoint = Endpoints.HttpSoap12_Address; 547client = new MyClientBase(customBinding, new EndpointAddress(Endpoints.HttpSoap12_Address)); 598client = new MyClientBase(customBinding, new EndpointAddress(Endpoints.HttpSoap12_Address)); 651client = new MyClientBase(customBinding, new EndpointAddress(Endpoints.HttpSoap12_Address)); 701client = new MyClientBase(customBinding, new EndpointAddress(Endpoints.DefaultCustomHttp_Address)); 736client = new MyClientBase(binding, new EndpointAddress(Endpoints.Tcp_CustomBinding_NoSecurity_Text_Address)); 772client = new MyClientBase<IWcfService>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text));
ClientBaseTests.4.1.0.cs (3)
25new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text)); 35cookieManager.CookieContainer.Add(new Uri(Endpoints.HttpBaseAddress_Basic_Text), new System.Net.Cookie(cookieName, cookieValue)); 62Uri uri = new Uri(Endpoints.HttpBaseAddress_Basic_Text);
ClientBaseTests.4.4.0.cs (1)
31string endpoint = Endpoints.HttpSoap12_Address;
DuplexClientBaseTests.4.1.0.cs (2)
30duplexService = new MyDuplexClientBase<IWcfDuplexService>(context, binding, new EndpointAddress(Endpoints.Https_DefaultBinding_Address_Text)); 77duplexService = new MyDuplexClientBase<IWcfDuplexService>(context, binding, new EndpointAddress(Endpoints.Tcp_NoSecurity_Callback_Address));
MessageInspectorTests.4.4.0.cs (2)
32EndpointAddress endPoint = new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text); 85EndpointAddress endPoint = new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text);
SessionTests.cs (7)
24factory = CreateChannelFactoryHelper<ISessionTestsDefaultService>(Endpoints.Tcp_Session_Tests_Default_Service); 57channelFactory = CreateChannelFactoryHelper<ISessionTestsDefaultService>(Endpoints.Tcp_Session_Tests_Default_Service); 101using (var factory = CreateChannelFactoryHelper<ISessionTestsDefaultService>(Endpoints.Tcp_Session_Tests_Default_Service)) 123using (var factory = CreateChannelFactoryHelper<ISessionTestsDefaultService>(Endpoints.Tcp_Session_Tests_Default_Service)) 147using (var factory = CreateChannelFactoryHelper<ISessionTestsDefaultService>(Endpoints.Tcp_Session_Tests_Default_Service)) 171using (var factory = CreateChannelFactoryHelper<ISessionTestsShortTimeoutService>(Endpoints.Tcp_Session_Tests_Short_Timeout_Service)) 505var duplexEndpoint = new EndpointAddress(Endpoints.Tcp_Session_Tests_Duplex_Service);
Client.ExpectedExceptions.IntegrationTests (27)
CallbackDebugBehaviorTests.cs (2)
36endpointAddress = new EndpointAddress(Endpoints.DuplexCallbackDebugBehavior_Address); 62var endpointAddress2 = new EndpointAddress(Endpoints.DuplexCallbackDebugBehavior_Address);
CallbackErrorHandlerTests.cs (1)
29endpointAddress = new EndpointAddress(Endpoints.DuplexCallbackErrorHandler_Address);
ExpectedExceptionTests.4.0.0.cs (6)
32endpointAddress = new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text); 73endpointAddress = new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text); 120endpointAddress = new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text); 162endpointAddress = new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text); 197endpointAddress = new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text); 259factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text));
ExpectedExceptionTests.4.1.0.cs (16)
71setupHostFactory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text)); 92string hostName = new Uri(Endpoints.HttpBaseAddress_Basic_Text).Host; 153string notFoundUrl = Endpoints.HttpBaseAddress_Basic_Text + "not-an-endpoint"; 191string protocolExceptionUri = Endpoints.HttpProtocolError_Address; 245endpointAddress = new EndpointAddress(Endpoints.Tcp_NoSecurity_TaskReturn_Address); 295endpointAddress = new EndpointAddress(Endpoints.Tcp_NoSecurity_TaskReturn_Address); 346endpointAddress = new EndpointAddress(Endpoints.Tcp_ExpiredServerCertResource_Address); 388endpointAddress = new EndpointAddress(new Uri(Endpoints.Tcp_RevokedServerCertResource_Address), new DnsEndpointIdentity(Endpoints.Tcp_RevokedServerCertResource_HostName)); 408Assert.True(exception.Message.Contains(Endpoints.Tcp_RevokedServerCertResource_HostName), 410Endpoints.Tcp_RevokedServerCertResource_HostName, 435endpointAddress = new EndpointAddress(new Uri(Endpoints.Tcp_InvalidEkuServerCertResource_Address), new DnsEndpointIdentity(Endpoints.Tcp_InvalidEkuServerCertResource_HostName)); 455Assert.True(exception.Message.Contains(Endpoints.Tcp_RevokedServerCertResource_HostName), 457Endpoints.Tcp_RevokedServerCertResource_HostName, 509factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text));
ExpectedExceptionTests.4.1.1.cs (2)
33endpointAddress = new EndpointAddress(new Uri(Endpoints.Tcp_VerifyDNS_Address), new DnsEndpointIdentity(Endpoints.Tcp_VerifyDNS_HostName));
Client.TypedClient.IntegrationTests (14)
TypedProxyDuplexTests.4.1.0.cs (2)
36factory = new DuplexChannelFactory<IWcfDuplexTaskReturnService>(context, binding, new EndpointAddress(Endpoints.Tcp_NoSecurity_TaskReturn_Address)); 71factory = new DuplexChannelFactory<IWcfDuplexTaskReturnService>(typeof(DuplexTaskReturnServiceCallback), binding, new EndpointAddress(Endpoints.Tcp_NoSecurity_TaskReturn_Address));
TypedProxyTests.4.0.0.cs (11)
34ServiceContract_TypedProxy_AsyncBeginEnd_Call_TestImpl(customBinding, Endpoints.DefaultCustomHttp_Address, "ServiceContract_TypedProxy_AsyncBeginEnd_Call"); 42ServiceContract_TypedProxy_AsyncBeginEnd_Call_TestImpl(netTcpBinding, Endpoints.Tcp_NoSecurity_Address, "ServiceContract_TypedProxy_NetTcpBinding_AsyncBeginEnd_Call"); 53ServiceContract_TypedProxy_AsyncBeginEnd_Call_WithNoCallback_TestImpl(customBinding, Endpoints.DefaultCustomHttp_Address, "ServiceContract_TypedProxy_AsyncBeginEnd_Call_WithNoCallback"); 61ServiceContract_TypedProxy_AsyncBeginEnd_Call_WithNoCallback_TestImpl(netTcpBinding, Endpoints.Tcp_NoSecurity_Address, "ServiceContract_TypedProxy_NetTcpBinding_AsyncBeginEnd_Call_WithNoCallback"); 86ServiceContract_TypedProxy_AsyncTask_Call_TestImpl(customBinding, Endpoints.DefaultCustomHttp_Address, "ServiceContract_TypedProxy_AsyncTask_Call"); 95ServiceContract_TypedProxy_AsyncTask_Call_TestImpl(netTcpBinding, Endpoints.Tcp_NoSecurity_Address, "ServiceContract_TypedProxy_NetTcpBinding_AsyncTask_Call"); 130endpointAddress = new EndpointAddress(Endpoints.DefaultCustomHttp_Address); 183endpointAddress = new EndpointAddress(Endpoints.DefaultCustomHttp_Address); 233endpointAddress = new EndpointAddress(Endpoints.DefaultCustomHttp_Address); 297endpointAddress = new EndpointAddress(Endpoints.DefaultCustomHttp_Address); 361endpointAddress = new EndpointAddress(Endpoints.DefaultCustomHttp_Address);
TypedProxyTests.4.1.0.cs (1)
66endpointAddress = new EndpointAddress(Endpoints.Tcp_NoSecurity_DuplexCallback_Address);
Contract.Data.IntegrationTests (4)
DataContractTests.4.0.0.cs (1)
34endpointAddress = new EndpointAddress(Endpoints.DefaultCustomHttp_Address);
DataContractTests.4.1.0.cs (2)
33factory = new DuplexChannelFactory<IWcfDuplexService_DataContract>(context, binding, new EndpointAddress(Endpoints.Tcp_NoSecurity_DataContractDuplexCallback_Address)); 71factory = new DuplexChannelFactory<IWcfDuplexService_Xml>(context, binding, new EndpointAddress(Endpoints.Tcp_NoSecurity_XmlDuplexCallback_Address));
DataContractTests.4.1.1.cs (1)
26factory = new ChannelFactory<IDataContractResolverService>(new BasicHttpBinding(), new EndpointAddress(Endpoints.DataContractResolver_Address));
Contract.Fault.IntegrationTests (9)
FaultExceptionTests.4.0.0.cs (8)
28endpointAddress = new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text); 29factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text)); 62endpointAddress = new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text); 97factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text)); 134factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text)); 171factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text)); 208factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text)); 241factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text));
FaultExceptionTests.cs (1)
32client = new MyClientBase<IWcfService>(customBinding, new EndpointAddress(Endpoints.DefaultCustomHttp_Address));
Contract.Message.IntegrationTests (6)
MessageContractCommon.4.1.0.cs (1)
48ChannelFactory<IMessageContract> factory = new ChannelFactory<IMessageContract>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text));
MessageContractTests.4.4.0.cs (2)
26factory = new ChannelFactory<IWcfService_4_4_0>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_4_4_0_Basic)); 98factory = new ChannelFactory<IWcfService_4_4_0>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_4_4_0_Basic));
MessageContractTests.cs (1)
37factory = new ChannelFactory<IUnderstoodHeaders>(binding, new EndpointAddress(Endpoints.UnderstoodHeaders));
MessageTests.4.0.0.cs (2)
29IRequestChannel channel = factory.CreateChannel(new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text)); 72factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text));
Contract.Service.IntegrationTests (29)
ServiceContractTests.4.0.0.cs (10)
33factory = new ChannelFactory<IServiceContractIntOutService>(binding, new EndpointAddress(Endpoints.ServiceContractAsyncIntOut_Address)); 80factory = new ChannelFactory<IServiceContractUniqueTypeOutService>(binding, new EndpointAddress(Endpoints.ServiceContractAsyncUniqueTypeOut_Address)); 126factory = new ChannelFactory<IServiceContractIntRefService>(binding, new EndpointAddress(Endpoints.ServiceContractAsyncIntRef_Address)); 174factory = new ChannelFactory<IServiceContractUniqueTypeRefService>(binding, new EndpointAddress(Endpoints.ServiceContractAsyncUniqueTypeRef_Address)); 222factory = new ChannelFactory<IServiceContractUniqueTypeOutSyncService>(binding, new EndpointAddress(Endpoints.ServiceContractSyncUniqueTypeOut_Address)); 268factory = new ChannelFactory<IServiceContractUniqueTypeRefSyncService>(binding, new EndpointAddress(Endpoints.ServiceContractSyncUniqueTypeRef_Address)); 304factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text)); 356factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text)); 410factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text)); 459factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text));
ServiceContractTests.4.1.0.cs (18)
35factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text)); 72factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text)); 107factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text)); 143factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text)); 180factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text)); 248factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text)); 310factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text)); 365factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.Tcp_NoSecurity_Address)); 402factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.Tcp_Streamed_NoSecurity_Address)); 437factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.Tcp_Streamed_NoSecurity_Address)); 473factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.Tcp_Streamed_NoSecurity_Address)); 510factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.Tcp_Streamed_NoSecurity_Address)); 547factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.Tcp_Streamed_NoSecurity_Address)); 584factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.Tcp_Streamed_NoSecurity_Address)); 649factory = new ChannelFactory<IWcfServiceGenerated>(customBinding, new EndpointAddress(Endpoints.DefaultCustomHttp_Address)); 692factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text)); 782factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text)); 872factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text));
ServiceKnownTypeTests.4.0.0.cs (1)
93var endpointAddress = new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text);
Contract.XmlSerializer.IntegrationTests (14)
XmlSerializerFormatSoapTest.cs (1)
91endpointAddress = new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Soap);
XmlSerializerFormatTest.4.0.0.cs (1)
14private static readonly string s_basicEndpointAddress = Endpoints.HttpBaseAddress_Basic_Text;
XmlSerializerFormatTest.4.1.0.cs (3)
19var endpointAddress = new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text); 46var endpointAddress = new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text); 73MyClientBase<IWcfServiceXml_OperationContext> client = new MyClientBase<IWcfServiceXml_OperationContext>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text));
XmlSerializerFormatTest.cs (9)
77endpointAddress = new EndpointAddress(Endpoints.XmlSFAttribute_Address); 137endpointAddress = new EndpointAddress(Endpoints.BasicHttpRpcEncSingleNs_Address); 169endpointAddress = new EndpointAddress(Endpoints.BasicHttpRpcEncSingleNs_Address); 217endpointAddress = new EndpointAddress(Endpoints.BasicHttpRpcLitSingleNs_Address); 265endpointAddress = new EndpointAddress(Endpoints.BasicHttpDocLitSingleNs_Address); 315endpointAddress = new EndpointAddress(Endpoints.BasicHttpRpcEncDualNs_Address); 372endpointAddress = new EndpointAddress(Endpoints.BasicHttpRpcLitDualNs_Address); 429endpointAddress = new EndpointAddress(Endpoints.BasicHttpDocLitDualNs_Address); 487endpointAddress = new EndpointAddress(Endpoints.BasicHttpRpcEncWithHeaders_Address);
dotnet-svcutil.xmlserializer.IntegrationTests (14)
src\System.Private.ServiceModel\tests\Scenarios\Contract\XmlSerializer\XmlSerializerFormatSoapTest.cs (1)
91endpointAddress = new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Soap);
src\System.Private.ServiceModel\tests\Scenarios\Contract\XmlSerializer\XmlSerializerFormatTest.4.0.0.cs (1)
14private static readonly string s_basicEndpointAddress = Endpoints.HttpBaseAddress_Basic_Text;
src\System.Private.ServiceModel\tests\Scenarios\Contract\XmlSerializer\XmlSerializerFormatTest.4.1.0.cs (3)
19var endpointAddress = new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text); 46var endpointAddress = new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text); 73MyClientBase<IWcfServiceXml_OperationContext> client = new MyClientBase<IWcfServiceXml_OperationContext>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text));
src\System.Private.ServiceModel\tests\Scenarios\Contract\XmlSerializer\XmlSerializerFormatTest.cs (9)
77endpointAddress = new EndpointAddress(Endpoints.XmlSFAttribute_Address); 137endpointAddress = new EndpointAddress(Endpoints.BasicHttpRpcEncSingleNs_Address); 169endpointAddress = new EndpointAddress(Endpoints.BasicHttpRpcEncSingleNs_Address); 217endpointAddress = new EndpointAddress(Endpoints.BasicHttpRpcLitSingleNs_Address); 265endpointAddress = new EndpointAddress(Endpoints.BasicHttpDocLitSingleNs_Address); 315endpointAddress = new EndpointAddress(Endpoints.BasicHttpRpcEncDualNs_Address); 372endpointAddress = new EndpointAddress(Endpoints.BasicHttpRpcLitDualNs_Address); 429endpointAddress = new EndpointAddress(Endpoints.BasicHttpDocLitDualNs_Address); 487endpointAddress = new EndpointAddress(Endpoints.BasicHttpRpcEncWithHeaders_Address);
Encoding.Encoders.IntegrationTests (5)
BinaryEncodingTests.4.0.0.cs (2)
32endpointAddress = new EndpointAddress(Endpoints.HttpBinary_Address); 70endpointAddress = new EndpointAddress(Endpoints.HttpBinary_Address);
TextEncodingTests.4.0.0.cs (1)
32endpointAddress = new EndpointAddress(Endpoints.Tcp_CustomBinding_NoSecurity_Text_Address);
TextEncodingTests.4.1.0.cs (2)
27factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text)); 60factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text));
Encoding.MessageVersion.IntegrationTests (7)
MessageVersionTests.4.0.0.cs (2)
31endpointAddress = new EndpointAddress(Endpoints.HttpSoap12_Address); 67endpointAddress = new EndpointAddress(Endpoints.HttpSoap11_Address);
MessageVersionTests.cs (5)
31endpointAddress = new EndpointAddress(Endpoints.HttpSoap12WSA2004_Address); 67endpointAddress = new EndpointAddress(Endpoints.HttpSoap11WSA2004_Address); 103endpointAddress = new EndpointAddress(Endpoints.HttpSoap12WSANone_Address); 139endpointAddress = new EndpointAddress(Endpoints.HttpSoap11WSA10_Address); 175endpointAddress = new EndpointAddress(Endpoints.TcpSoap11WSA10_Address);
Extensibility.MessageEncoder.IntegrationTests (2)
TextTests.4.1.0.cs (2)
39channelFactory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.CustomTextEncoderBuffered_Address)); 83factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.CustomTextEncoderStreamed_Address));
Extensibility.MessageInterceptor.IntegrationTests (1)
MessageInterceptorTests.4.1.1.cs (1)
48factory = new ChannelFactory<IWcfChannelExtensibilityContract>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_ChannelExtensibility));
Extensibility.WebSockets.IntegrationTests (15)
WebSocketTests.4.1.0.cs (15)
47endpointAddress = Endpoints.WebSocketHttpDuplexStreamed_Address + Enum.GetName(typeof(NetHttpMessageEncoding), messageEncoding); 141endpointAddress = new EndpointAddress(Endpoints.WebSocketHttpDuplexBuffered_Address + Enum.GetName(typeof(NetHttpMessageEncoding), messageEncoding)); 209endpointAddress = new EndpointAddress(Endpoints.WebSocketHttpDuplexBuffered_Address + Enum.GetName(typeof(NetHttpMessageEncoding), messageEncoding)); 279endpointAddress = Endpoints.WebSocketHttpsDuplexStreamed_Address + Enum.GetName(typeof(NetHttpMessageEncoding), messageEncoding); 376endpointAddress = new EndpointAddress(Endpoints.WebSocketHttpsDuplexBuffered_Address + Enum.GetName(typeof(NetHttpMessageEncoding), messageEncoding)); 440endpointAddress = new EndpointAddress(Endpoints.WebSocketHttpRequestReplyStreamed_Address + Enum.GetName(typeof(NetHttpMessageEncoding), messageEncoding)); 505endpointAddress = new EndpointAddress(Endpoints.WebSocketHttpRequestReplyBuffered_Address + Enum.GetName(typeof(NetHttpMessageEncoding), messageEncoding)); 559endpointAddress = new EndpointAddress(Endpoints.WebSocketHttpRequestReplyBuffered_Address + Enum.GetName(typeof(NetHttpMessageEncoding), messageEncoding)); 615endpointAddress = new EndpointAddress(Endpoints.WebSocketHttpsRequestReplyBuffered_Address + Enum.GetName(typeof(NetHttpMessageEncoding), messageEncoding)); 671endpointAddress = new EndpointAddress(Endpoints.WebSocketHttpsRequestReplyBuffered_Address + Enum.GetName(typeof(NetHttpMessageEncoding), messageEncoding)); 720factory = new DuplexChannelFactory<IWcfDuplexService>(context, binding, new EndpointAddress(Endpoints.NetHttpDuplexWebSocket_Address)); 760factory = new DuplexChannelFactory<IWcfDuplexService>(context, binding, new EndpointAddress(Endpoints.NetHttpWebSocketTransport_Address)); 799UriBuilder builder = new UriBuilder(Endpoints.NetHttpWebSocketTransport_Address); 803factory = new DuplexChannelFactory<IWcfDuplexService>(context, binding, new EndpointAddress(Endpoints.NetHttpWebSocketTransport_Address)); 843channelFactory = new ChannelFactory<IVerifyWebSockets>(binding, new EndpointAddress(Endpoints.WebSocketHttpVerifyWebSocketsUsed_Address));
ScenarioTests.Common.Tests (1)
Endpoints.cs (1)
99get { return Endpoints.DefaultCustomHttp_Address + "/UnknownProtocolUrl.htm"; }
Security.TransportSecurity.IntegrationTests (68)
Http\ClientCredentialTypeTests.4.1.0.cs (4)
29factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.Http_DigestAuth_NoDomain_Address)); 90factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.Http_DigestAuth_NoDomain_Address)); 148ScenarioTestHelpers.RunBasicEchoTest(basicHttpBinding, Endpoints.Http_WindowsAuth_Address, "BasicHttpBinding with Windows authentication", null); 162ScenarioTestHelpers.RunBasicEchoTest(binding, Endpoints.Http_WindowsAuth_Address, "BasicHttpBinding with IntegratedWindowsAuthentication authentication and Negotiate endpoint", null);
Https\ClientCredentialTypeTests.4.1.0.cs (7)
48endpointAddress = new EndpointAddress(Endpoints.Https_BasicAuth_Address); 81Endpoints.Https_BasicAuth_Address, 123endpointAddress = new EndpointAddress(Endpoints.Https_BasicAuth_Address); 183endpointAddress = new EndpointAddress(Endpoints.Https_BasicAuth_Address); 226ScenarioTestHelpers.RunBasicEchoTest(basicHttpBinding, Endpoints.Https_DigestAuth_Address, "BasicHttpBinding - Digest auth ", credentials); 237ScenarioTestHelpers.RunBasicEchoTest(basicHttpBinding, Endpoints.Https_NtlmAuth_Address, "BasicHttpBinding with NTLM authentication", null); 251ScenarioTestHelpers.RunBasicEchoTest(binding, Endpoints.Https_NtlmAuth_Address, "BasicHttpBinding with IntegratedWindowsAuthentication authentication and Ntlm endpoint", null);
Https\HttpsTests.4.1.0.cs (12)
41factory = new ChannelFactory<IWcfService>(basicHttpsBinding, new EndpointAddress(Endpoints.Https_DefaultBinding_Address + Enum.GetName(typeof(WSMessageEncoding), messageEncoding))); 83ChannelFactory<IWcfService> factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.Https_DefaultBinding_Address_Text)); 122ChannelFactory<IWcfService> factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpsSoap12_Address)); 161ChannelFactory<IWcfService> factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpsSoap11_Address)); 200ChannelFactory<IWcfService> factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpsSoap12_Address)); 242endpointAddress = new EndpointAddress(new Uri(Endpoints.Https_DefaultBinding_Address_Text)); 290endpointAddress = new EndpointAddress(new Uri(Endpoints.Https_DefaultBinding_Address_Text), identity); 331endpointAddress = new EndpointAddress(new Uri(Endpoints.Https_DefaultBinding_Address_Text), identity); 371endpointAddress = new EndpointAddress(new Uri(Endpoints.Https_ClientCertificateAuth_Address)); 420endpointAddress = new EndpointAddress(new Uri(Endpoints.Https_ClientCertificateAuth_Address)); 479var uriBuilder = new UriBuilder(Endpoints.WebSocketHttpsRequestReplyClientCertAuth_Address); 538var uriBuilder = new UriBuilder(Endpoints.WebSocketHttpsRequestReplyClientCertAuth_Address);
Https\HttpsTests.4.1.1.cs (4)
39new Uri(Endpoints.Https_SecModeTrans_ClientCredTypeNone_ServerCertValModePeerTrust_Address)); 90Endpoints.Https_SecModeTrans_ClientCredTypeNone_ServerCertValModeChainTrust_Address)); 148new Uri(Endpoints.Https_SecModeTrans_ClientCredTypeNone_ServerCertValModeChainTrust_Address)); 193endpointAddress = new EndpointAddress(new Uri(Endpoints.Https_SecModeTrans_ClientCredTypeNone_ServerCertValModeChainTrust_Address));
Negotiate\NegotiateStream_Http_Tests.4.1.0.cs (7)
80new EndpointAddress(Endpoints.Https_WindowsAuth_Address)); 133new EndpointAddress(Endpoints.Https_WindowsAuth_Address)); 185new EndpointAddress(new Uri(Endpoints.Https_WindowsAuth_Address), new SpnEndpointIdentity(spn))); 235new Uri(Endpoints.Https_WindowsAuth_Address), 279new Uri(Endpoints.Https_WindowsAuth_Address), 331new Uri(Endpoints.Https_WindowsAuth_Address), 381new Uri(Endpoints.Https_WindowsAuth_Address),
Negotiate\NegotiateStream_Tcp_Tests.4.1.0.cs (6)
72factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.Tcp_DefaultBinding_Address)); 116new EndpointAddress(Endpoints.Tcp_DefaultBinding_Address)); 163new Uri(Endpoints.Tcp_DefaultBinding_Address), 204new Uri(Endpoints.Tcp_DefaultBinding_Address), 255new Uri(Endpoints.Tcp_DefaultBinding_Address), 302new Uri(Endpoints.Tcp_DefaultBinding_Address),
Tcp\ClientCredentialTypeCertificateCanonicalNameTests.4.1.0.cs (4)
32var localhostEndpointUri = new Uri(Endpoints.Tcp_ClientCredentialType_Certificate_With_CanonicalName_Localhost_Address); 103var domainNameEndpointUri = new Uri(Endpoints.Tcp_ClientCredentialType_Certificate_With_CanonicalName_DomainName_Address); 181var domainNameEndpointUri = new Uri(Endpoints.Tcp_ClientCredentialType_Certificate_With_CanonicalName_DomainName_Address); 185var fqdnEndpointUri = new Uri(Endpoints.Tcp_ClientCredentialType_Certificate_With_CanonicalName_Fqdn_Address);
Tcp\ClientCredentialTypeTests.4.1.0.cs (5)
33endpointAddress = new EndpointAddress(new Uri(Endpoints.Tcp_ClientCredentialType_Certificate_Address), 34new DnsEndpointIdentity(Endpoints.Tcp_VerifyDNS_HostName)); 82endpointAddress = new EndpointAddress(new Uri(Endpoints.Tcp_ClientCredentialType_Certificate_CustomValidation_Address), 83new DnsEndpointIdentity(Endpoints.Tcp_VerifyDNS_HostName)); 134endpointAddress = new EndpointAddress(new Uri(Endpoints.Tcp_ClientCredentialType_Certificate_With_ServerAltName_Address));
Tcp\ClientCredentialTypeTests.4.1.1.cs (5)
40new Uri(Endpoints.NetTcp_SecModeTrans_ClientCredTypeNone_ServerCertValModePeerTrust_Address)); 90Endpoints.Tcp_CustomBinding_SslStreamSecurity_Address)); 147Endpoints.Tcp_CustomBinding_SslStreamSecurity_Address)); 193Endpoints.Tcp_CustomBinding_SslStreamSecurity_Address)); 241Endpoints.Tcp_Certificate_Duplex_Address));
Tcp\ClientCredentialTypeTests.OSX.cs (1)
66new Uri(Endpoints.NetTcp_SecModeTrans_ClientCredTypeNone_ServerCertValModePeerTrust_Address));
Tcp\IdentityTests.4.1.0.cs (2)
29EndpointAddress endpointAddress = new EndpointAddress(new Uri(Endpoints.Tcp_VerifyDNS_Address), new DnsEndpointIdentity(Endpoints.Tcp_VerifyDNS_HostName));
Tcp\IdentityTests.4.1.1.cs (3)
29EndpointAddress endpointAddress = new EndpointAddress(new Uri(Endpoints.Tcp_VerifyDNS_Address), new DnsEndpointIdentity("wrongone")); 42Assert.True(exception.Message.Contains(Endpoints.Tcp_VerifyDNS_HostName), string.Format("Expected exception message contains: '{0}', actual: '{1}')", Endpoints.Tcp_VerifyDNS_HostName, exception.Message));
Tcp\StreamingTests.4.1.0.cs (8)
40factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.Tcp_Transport_Security_Streamed_Address)); 81factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.Tcp_Transport_Security_Streamed_Address)); 122factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.Tcp_Transport_Security_Streamed_Address)); 164factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.Tcp_Transport_Security_Streamed_Address)); 216factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.Tcp_Transport_Security_Streamed_Address)); 274factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.Tcp_Transport_Security_Streamed_Address)); 316factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.Tcp_Transport_Security_Streamed_Address)); 358factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.Tcp_Transport_Security_Streamed_Address));