Ejemplo n.º 1
0
        public void Integration_FindMetaEA_WithVersion()
        {
            ServiceLocation serviceLocation = new ServiceLocation
            {
                Name    = "BSCurusadministatie",
                Profile = "Production"
            };

            IServiceLocatorService proxy = _factory.CreateChannel();

            string uri = proxy.FindMetadataEndpointAddress(serviceLocation);

            Assert.AreEqual("http://infosupport.intranet/CAS/mex", uri);
        }
Ejemplo n.º 2
0
        public void Integration_FindMetaEA_WithoutVersion_Integration()
        {
            ServiceLocation serviceLocation = new ServiceLocation
            {
                Name    = "PcSPlanningmaken",
                Profile = "Acceptation",
                Version = 1.0M
            };

            IServiceLocatorService proxy = _factory.CreateChannel();

            string uri = proxy.FindMetadataEndpointAddress(serviceLocation);

            Assert.AreEqual("http://infosupport.test/CAS/metadata", uri);
        }