public void Test() { EndPoint endPoint = new EndPoint(); Assert.True(endPoint.TestWcfSoapConnection( "http://DirectGateway.South.Hobo.Lab/ConfigService/CertificateService.svc/Certificates")); Assert.True(endPoint.TestWcfSoapConnection( "http://DirectGateway.South.Hobo.Lab/ConfigService/CertificateService.svc/Anchors")); Assert.False(endPoint.TestWcfSoapConnection( "http://DirectGateway.South.Hobo.Lab/ConfigService/CertificateService.svc/Addresses")); Assert.True(endPoint.TestWcfSoapConnection( "http://DirectGateway.South.Hobo.Lab/ConfigService/DomainManagerService.svc/Addresses")); Assert.True(endPoint.TestWcfSoapConnection( "http://DirectGateway.South.Hobo.Lab/ConfigService/DomainManagerService.svc/Domains")); Assert.True(endPoint.TestWcfSoapConnection( "http://DirectGateway.South.Hobo.Lab/ConfigService/DomainManagerService.svc/DnsRecords")); Assert.False(endPoint.TestWcfSoapConnection( "http://DirectGateway.South.Hobo.Lab/ConfigService/DomainManagerService.svc/Authentication")); Assert.True(endPoint.TestWcfSoapConnection( "http://DirectGateway.South.Hobo.Lab/ConfigService/AuthManagerService.svc/Authentication")); Assert.False(endPoint.TestWcfSoapConnection( "http://DirectGateway.South.Hobo.Lab/ConfigService/AuthManagerService.svc/Certificates")); Assert.False(endPoint.TestWcfSoapConnection( "http://badhostname/ConfigService/AuthManagerService.svc/Certificates")); }
public void TestFqdnToNetBios() { EndPoint endPoint = new EndPoint(); Assert.True(endPoint.TestWcfSoapConnection( "http://engr-dir-be.engr.kryptiq.com/dnsservice/recordretrievalservice.svc/Records")); }
public void TestEmpty() { EndPoint endPoint = new EndPoint(); Assert.False(endPoint.TestWcfSoapConnection(String.Empty)); endPoint = new EndPoint(); Assert.False(endPoint.TestWcfSoapConnection(" ")); }