public static string SayHi(MyComposite customParam)
 {
     BasicHttpBinding basicHttpBinding = new BasicHttpBinding();
     EndpointAddress endpointAddress = new EndpointAddress("http://localhost:56071/ADMCompletedDemoService.svc");
     IADMCompletedDemoService service =
         new ChannelFactory< IADMCompletedDemoService >(basicHttpBinding, endpointAddress).CreateChannel();
     var serviceResponse = service.SayHi(customParam);
     return serviceResponse;
 }
 public string SayHi(MyComposite customParam)
 {
     // NOTE! Business logic is properly routed from service layer to business logic layer
     return BusinessLogicHandler.ADMCompletedDemoService_SayHi(customParam);
 }
 public static string ADMCompletedDemoService_SayHi(MyComposite customParam)
 {
     return "Hello from server: " + customParam.Message;
 }