public static async Task <string> RunComplexWCF(
            [ActivityTrigger] string something, ILogger log)
        {
            WcfServiceTest.Service1Client client = new WcfServiceTest.Service1Client();

            var compositeObject = new WcfServiceTest.CompositeType();

            compositeObject.BoolValue   = true;
            compositeObject.StringValue = something;

            var request = new WcfServiceTest.GetDataUsingDataContractRequest(compositeObject);

            await Task.Delay(2000);

            var response = await client.GetDataUsingDataContractAsync(request);

            log.LogInformation($"{Environment.NewLine}->GetDataUsingDataContractAsync = {response.GetDataUsingDataContractResult.StringValue}{Environment.NewLine}");

            return(response.GetDataUsingDataContractResult.StringValue);
        }
        public static async Task <string> RunWCF(
            [ActivityTrigger] int number, ILogger log)
        {
            var binding = new BasicHttpBinding(BasicHttpSecurityMode.None);
            var address = new EndpointAddress(Environment.GetEnvironmentVariable("WcfUrl"));

            try
            {
                WcfServiceTest.Service1Client client = new WcfServiceTest.Service1Client(binding, address);

                var request = new WcfServiceTest.GetDataRequest(number);

                //await Task.Delay(2000);

                var response = await client.GetDataAsync(request);

                log.LogInformation($"{Environment.NewLine}-> GetDataAsync = {response.GetDataResult}{Environment.NewLine}");

                return(response.GetDataResult);
            } catch (Exception ex)
            {
                return(ex.Message);
            }
        }